Fatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /usr/share/php/Doctrine/Connection.php:474 Stack trace: #0 /usr/share/php/Doctrine/Connection/Mysql.php(101): Doctrine_Connection->connect() #1 /usr/share/php/Doctrine/Connection.php(1037): Doctrine_Connection_Mysql->connect() #2 /usr/share/php/Doctrine/Connection/Mysql.php(126): Doctrine_Connection->exec('SET NAMES 'utf8...') #3 /usr/share/php/ZFDoctrine/Application/Resource/Doctrine.php(264): Doctrine_Connection_Mysql->setCharset('utf8') #4 /usr/share/php/ZFDoctrine/Application/Resource/Doctrine.php(359): ZFDoctrine_Application_Resource_Doctrine->_initConnections() #5 /usr/share/php/Zend/Application/Bootstrap/BootstrapAbstract.php(683): ZFDoctrine_Application_Resource_Doctrine->init() #6 /usr/share/php/Zend/Application/Bootstrap/BootstrapAbstract.php(626): Zend_Application_Bootstrap_BootstrapAbstract->_executeRe in /usr/share/php/Doctrine/Connection.php on line 474