Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 52

Fatal error: Uncaught Error: mysqli object is already closed in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php:839 Stack trace: #0 /var/www/html/piwigo/include/common.inc.php(113): my_error() #1 /var/www/html/piwigo/index.php(11): include_once('...') #2 {main} thrown in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 839