Warning: PDO::__construct() [pdo.--construct0]: [2002] No such file or directory (trying to connect via unix:///var/run/mysqld/mysqld.sock) in /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php on line 129

Warning: PDO::__construct() [pdo.--construct0]: [2002] No such file or directory (trying to connect via unix:///var/run/mysqld/mysqld.sock) in /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php on line 129

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:host=loca...', 'tdf_ferry', 'wFAF2PmBXU454Vv...', Array) #1 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Abstract.php(459): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('DESCRIBE `optio...', Array) #4 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Mysql.php(169): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE `optio...') #5 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(834): Zend_Db_Adapter_Pdo_Mysql->describeTable('options', NULL) #6 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(856): Zend_Db_Table_Abstract->_setupMetadata() #7 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(896): Zend_Db_Table_Abstract->_getCols() #8 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(980): Zend_Db_Table_Abstract->_setupPrimaryKey() #9 /opt/zf/release-1.11.6/library/Zend/Db/Table/Select.php(100): Zend_Db_Table_Abstract->info() #10 /opt/zf/release-1.11.6/library/Zend/Db/Table/Select.php(78): Zend_Db_Table_Select->setTable(Object(Application_Model_DbTable_Options)) #11 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(1016): Zend_Db_Table_Select->__construct(Object(Application_Model_DbTable_Options)) #12 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(1324): Zend_Db_Table_Abstract->select() #13 /srv/www/tourdeforce.travel/ferry-release/application/models/DbTable/Options.php(25): Zend_Db_Table_Abstract->fetchAll() #14 /srv/www/tourdeforce.travel/ferry-release/library/TDF/Controller/Action.php(13): Application_Model_DbTable_Options->getAll() #15 /opt/zf/release-1.11.6/library/Zend/Controller/Action.php(133): TDF_Controller_Action->init() #16 /opt/zf/release-1.11.6/library/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #17 /opt/zf/release-1.11.6/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #18 /opt/zf/release-1.11.6/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #19 /opt/zf/release-1.11.6/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #20 /srv/www/tourdeforce.travel/ferry-release/public/index.php(33): Zend_Application->run() #21 {main} Next exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Abstract.php(459): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('DESCRIBE `optio...', Array) #3 /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Mysql.php(169): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE `optio...') #4 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(834): Zend_Db_Adapter_Pdo_Mysql->describeTable('options', NULL) #5 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(856): Zend_Db_Table_Abstract->_setupMetadata() #6 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(896): Zend_Db_Table_Abstract->_getCols() #7 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(980): Zend_Db_Table_Abstract->_setupPrimaryKey() #8 /opt/zf/release-1.11.6/library/Zend/Db/Table/Select.php(100): Zend_Db_Table_Abstract->info() #9 /opt/zf/release-1.11.6/library/Zend/Db/Table/Select.php(78): Zend_Db_Table_Select->setTable(Object(Application_Model_DbTable_Options)) #10 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(1016): Zend_Db_Table_Select->__construct(Object(Application_Model_DbTable_Options)) #11 /opt/zf/release-1.11.6/library/Zend/Db/Table/Abstract.php(1324): Zend_Db_Table_Abstract->select() #12 /srv/www/tourdeforce.travel/ferry-release/application/models/DbTable/Options.php(25): Zend_Db_Table_Abstract->fetchAll() #13 /srv/www/tourdeforce.travel/ferry-release/library/TDF/Controller/Action.php(13): Application_Model_DbTable_Options->getAll() #14 /opt/zf/release-1.11.6/library/Zend/Controller/Action.php(133): TDF_Controller_Action->init() #15 /opt/zf/release-1.11.6/library/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #16 /opt/zf/release-1.11.6/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #17 /opt/zf/release-1.11.6/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #18 /opt/zf/release-1.11.6/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #19 /srv/www/tourdeforce.travel/ferry-release/public/index.php(33): Zend_Application->run() #20 {main} thrown in /opt/zf/release-1.11.6/library/Zend/Db/Adapter/Pdo/Abstract.php on line 144