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

Warning: my_error(): Couldn't fetch mysqli in /home/cubamaxt/public_html/cuba_en_fotos/include/dblayer/functions_mysqli.inc.php on line 805

Warning: my_error(): Couldn't fetch mysqli in /home/cubamaxt/public_html/cuba_en_fotos/include/dblayer/functions_mysqli.inc.php on line 805

Piwigo encountered a non recoverable error

[mysql error ] 
Can't connect to server

#1	my_error /home/cubamaxt/public_html/cuba_en_fotos/include/common.inc.php(119)
#2	include_once /home/cubamaxt/public_html/cuba_en_fotos/picture.php(25)