php - Detecting direct changes in MySQL through -
i have php application talks mysql. application connects mysql using username , password. makes changes mysql database through application can username logged , can later audited. however, need operations backend , ie directly database. want know is possible log information users logging db directly( using phpmyadmin ) , making changes specific tables , how information can viewed later ? further, possible if changes made specific tables directly through backend triggers fired if same changes made front end, ie using php application , these triggers not fired ?
-thanks in advance
- yes, can log changes made database setting lots of triggers on tables need track. can use mysql's user() function current user name.
- using mentioned user() function can determine, whether need log activity or not (i presume using different users in php scripts , in phpmyadmin)
Comments
Post a Comment