Warning: mysqli::__construct(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/waij002/public_html/photo/include/dblayer/functions_mysqli.inc.php on line 52

Warning: my_error(): Couldn't fetch mysqli in /home/waij002/public_html/photo/include/dblayer/functions_mysqli.inc.php on line 848

Warning: my_error(): Couldn't fetch mysqli in /home/waij002/public_html/photo/include/dblayer/functions_mysqli.inc.php on line 848

Piwigo encountered a non recoverable error

[mysql error ] 
Can't connect to server

#1	my_error /home/waij002/public_html/photo/include/common.inc.php(113)
#2	include_once /home/waij002/public_html/photo/picture.php(10)