Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/mjd927/public_html/professional/photography/include/dblayer/functions_mysqli.inc.php on line 67

Warning: my_error() [function.my-error]: Couldn't fetch mysqli in /home/mjd927/public_html/professional/photography/include/dblayer/functions_mysqli.inc.php on line 822

Warning: my_error() [function.my-error]: Couldn't fetch mysqli in /home/mjd927/public_html/professional/photography/include/dblayer/functions_mysqli.inc.php on line 822

Piwigo encountered a non recoverable error

[mysql error ] 
Can't connect to server

#1	my_error /home/mjd927/public_html/professional/photography/include/common.inc.php(118)
#2	include_once /home/mjd927/public_html/professional/photography/index.php(26)