Zenphoto encountered an error

MySQL Error: Zenphoto received the error Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when connecting to the database server.