( ! ) Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www/html/galerie/include/dblayer/functions_mysqli.inc.php on line 67
Call Stack
#TimeMemoryFunctionLocation
10.0001232984{main}( ).../index.php:0
20.0002234392include_once( '/var/www/html/galerie/include/common.inc.php' ).../index.php:26
30.0039543448pwg_db_connect( ).../common.inc.php:117
40.0039544056mysqli ( ).../functions_mysqli.inc.php:67

( ! ) Warning: my_error(): Couldn't fetch mysqli in /var/www/html/galerie/include/dblayer/functions_mysqli.inc.php on line 824
Call Stack
#TimeMemoryFunctionLocation
10.0001232984{main}( ).../index.php:0
20.0002234392include_once( '/var/www/html/galerie/include/common.inc.php' ).../index.php:26
30.0043550600my_error( ).../common.inc.php:121

( ! ) Warning: my_error(): Couldn't fetch mysqli in /var/www/html/galerie/include/dblayer/functions_mysqli.inc.php on line 824
Call Stack
#TimeMemoryFunctionLocation
10.0001232984{main}( ).../index.php:0
20.0002234392include_once( '/var/www/html/galerie/include/common.inc.php' ).../index.php:26
30.0043550600my_error( ).../common.inc.php:121

Piwigo encountered a non recoverable error

[mysql error ] 
Can't connect to server

#1	my_error /var/www/html/galerie/include/common.inc.php(121)
#2	include_once /var/www/html/galerie/index.php(26)