SQL Error

Forum for questions and support relating to the 1.28.x releases only.
Locked
Biggus
Posts: 96
Joined: Mon Nov 18, 2013 9:15 am

SQL Error

Post 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
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: SQL Error

Post by knight-of-ni »

Is mysql installed and running?

e.g.

Code: Select all

service mysql status
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Biggus
Posts: 96
Joined: Mon Nov 18, 2013 9:15 am

Re: SQL Error

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