Notice: Undefined offset: 8192 in /var/www/html/gallery/include/debugger.inc.php on line 112

Notice: Undefined offset: 8192 in /var/www/html/gallery/include/debugger.inc.php on line 112
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)