Take the 2-minute tour ×  This question already has an answer
here:  I have a website to which I have allowed someone to enter
to make some modifications. However, I have discovered that they
made changes that compromised the security of the website and I
know that the changes made would have sent queries to a MySQL
database on the server.  What I would like to know is, is it
possible either via plesk or SSH to view MYSQL query logs
relative to a specific IP address (the IP address the guy who
compromised the site).  On an additional note, I am very new to
SSH, so if you can recommend any use of this please make sure
they're dumbed down instructions.  Many thanks :)  share|improve
this question add comment  marked as duplicate by quanta, Ward,
SvW, mgorven, Dave M Feb 22 '13 at 21:46   2 Answers  Yes, it's
possible at the mysql level.  To accomplish it, just enable the
general logs in mysql. To enable it you can follow different
ways.    1. Put this in my.cnf file of your mysql:       After
that, restart mysq