Hot to configure mysql to log information, only for specific database or table?
For example i need to log authentification requests from Postfix to mysql.
Thanks 😉
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the MySQL query log for this. It can only be activated for the whole MySQL server and not only a specific table or database but you can use the standard UNIX command line tools like
grepto get the specific information you want out of the log file.