I look after various MySQL DB's which we have recently moved to Linux servers (from Windows). They run fine and everything is good. However, this morning i needed to check the error logs, but these are now written to
My SysAdmin is off today, and I can't for the life of me see how to read this data.
I can get the latest data fine using
tail -f /var/log/syslog
But how do I access data from 1:00 am today? or from yesterday for that matter.
grep mysqld /var/log/syslog | less
but that shows me data from 6am onwards
I then tried
grep '^Nov 4 01' /var/log/syslog | less
but that showed me nothing but a long list of ^