Page 1 of 1

SQL Error

Posted: Mon Oct 05, 2015 1:09 pm
by Biggus
Hi,

I am receiving the following error message when starting up Zoneminder, how can I fix. It use to be OK then got this OK.

Unable to connect to ZM db.SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)


Using Ubuntu 14.04

Re: SQL Error

Posted: Mon Oct 05, 2015 2:18 pm
by knight-of-ni
Is mysql installed and running?

e.g.

Code: Select all

service mysql status

Re: SQL Error

Posted: Tue Oct 06, 2015 4:19 pm
by Biggus
I'm not sure what happened mysql appeared to screw up and I don't have the knowlege on how to fix so I've end up re-building the machine.