Ever since 1am last night I am receiving the following error hourly.
I'm puzzled on this one. Nothing has changed on the server and I didn't see anything suspicious before the error started to appear.
Anyone know how to correct it?
Code:
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
Anyone know how to correct it?