MYSQL analyze logs
MySQL stores logs in the /var/lib/mysql. The error file in my case is "localhost.err".
Prototype:
#1 Error Log sends to "localhost.err" and to my email address at the same time.
I think that I can use "wc -l" command to analyze if more lines were added.
But in order to store previous information I should use some database.
Is there another way for doing this?
|