I know that I can use ONESEC to e-mail myself if someone logs into my server but I was wondering if I could do the same thing if someone logs into a specific user for MySQL. My GoogleFu seems to be failing on this one.


1 Answer 1


I would setup MySQL to log to syslog and configure nowadzys versatiles syslog daemon (eg rsyslogd) to trigger an email when it matcha mysql log message that matches the appropriate pattern.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.