E_WARNING: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/framework/v004/datenbank/connection.php on line 51
#0 handler #1 mysqli_connect called at [/var/www/framework/v004/datenbank/connection.php:51] #2 connection->__construct called at [/var/www/framework/v004/datenbank/database.php:27] #3 database->__construct called at [/var/www/framework/v004/datenbank/mysql.php:31] #4 mysql->__construct called at [/var/www/azubi/session.php:12] #5 require_once called at [/var/www/azubi/klassen/_package.php:54] #6 require_once called at [/var/www/azubi/index.php:12]
Fehler: Es konnte keine Anfrage an den MySQL Server gestartet werden. Errorcode: 2002 - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)E_WARNING: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/framework/v004/datenbank/connection.php on line 51
#0 handler #1 mysqli_connect called at [/var/www/framework/v004/datenbank/connection.php:51] #2 connection->__construct called at [/var/www/framework/v004/datenbank/database.php:27] #3 database->__construct called at [/var/www/framework/v004/datenbank/mysql.php:31] #4 mysql->__construct called at [/var/www/azubi/index.php:16]
Fatal error: Uncaught exception 'Exception' with message 'Es konnte keine Anfrage an den MySQL Server gestartet werden. Errorcode: 2002 - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /var/www/framework/v004/datenbank/connection.php:52 Stack trace: #0 /var/www/framework/v004/datenbank/database.php(27): connection->__construct('mysql') #1 /var/www/framework/v004/datenbank/mysql.php(31): database->__construct('mysql') #2 /var/www/azubi/index.php(16): mysql->__construct('UTF8', 'wochenberichte') #3 {main} thrown in /var/www/framework/v004/datenbank/connection.php on line 52
E_ERROR: Uncaught exception 'Exception' with message 'Es konnte keine Anfrage an den MySQL Server gestartet werden. Errorcode: 2002 - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /var/www/framework/v004/datenbank/connection.php:52 Stack trace: #0 /var/www/framework/v004/datenbank/database.php(27): connection->__construct('mysql') #1 /var/www/framework/v004/datenbank/mysql.php(31): database->__construct('mysql') #2 /var/www/azubi/index.php(16): mysql->__construct('UTF8', 'wochenberichte') #3 {main} thrown in /var/www/framework/v004/datenbank/connection.php on line 52
#0 handler called at [/var/www/framework/v004/fehler_reporter/class.fehler.php:23] #1 shut