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
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.