Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www2/blog.tmfc.net/class/database/pdb/drivers/pdbmysqldriver.class.php on line 103 Warning: mysql_error() expects parameter 1 to be resource, boolean given in /var/www2/blog.tmfc.net/class/database/pdb/drivers/pdbmysqldriver.class.php on line 133 Fatal error: Uncaught exception 'Exception' with message 'Fatal error: could not connect to the database! Error: ' in /var/www2/blog.tmfc.net/class/database/db.class.php:76 Stack trace: #0 /var/www2/blog.tmfc.net/class/config/configdbstorage.class.php(83): Db->getDb() #1 /var/www2/blog.tmfc.net/class/config/configdbstorage.class.php(63): ConfigDbStorage->_initializeDatabase() #2 /var/www2/blog.tmfc.net/class/config/configdbstorage.class.php(56): ConfigDbStorage->_loadAllValuesFromDatabase() #3 /var/www2/blog.tmfc.net/class/config/config.class.php(103): ConfigDbStorage->ConfigDbStorage(NULL) #4 /var/www2/blog.tmfc.net/post(13): Config::getConfig() #5 {main} thrown in /var/www2/blog.tmfc.net/class/database/db.class.php on line 76