Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/avi/pics_html/include/dblayer/functions_mysqli.inc.php on line 67

Warning: my_error(): Couldn't fetch mysqli in /home/avi/pics_html/include/dblayer/functions_mysqli.inc.php on line 824

Warning: my_error(): Couldn't fetch mysqli in /home/avi/pics_html/include/dblayer/functions_mysqli.inc.php on line 824

Piwigo encountered a non recoverable error

[mysql error ] 
Can't connect to server

#1	my_error /home/avi/pics_html/include/common.inc.php(121)
#2	include_once /home/avi/pics_html/index.php(26)