Zenphoto encountered an error

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