SQLSTATE[HY000] [2002] No such file or directory

#0 /var/www/magento3/includes/src/__default.php(54213): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/magento3/includes/src/__default.php(54686): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/magento3/includes/src/__default.php(52900): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /var/www/magento3/includes/src/__default.php(53956): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /var/www/magento3/includes/src/__default.php(54792): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /var/www/magento3/includes/src/__default.php(29461): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /var/www/magento3/includes/src/__default.php(29402): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /var/www/magento3/includes/src/__default.php(11839): Mage_Core_Model_Resource->getConnection('core_write')
#8 /var/www/magento3/includes/src/__default.php(11869): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#9 /var/www/magento3/includes/src/__default.php(11854): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /var/www/magento3/includes/src/__default.php(11879): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /var/www/magento3/includes/src/__default.php(31499): Mage_Core_Model_Resource_Db_Abstract->getReadConnection()
#12 /var/www/magento3/includes/src/__default.php(23592): Mage_Core_Model_Resource_Db_Collection_Abstract->__construct(Object(Mage_Core_Model_Resource_Website))
#13 /var/www/magento3/includes/src/__default.php(23624): Mage_Core_Model_Config->getModelInstance('core_resource/w...', Object(Mage_Core_Model_Resource_Website))
#14 /var/www/magento3/app/Mage.php(490): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Resource_Website))
#15 /var/www/magento3/includes/src/__default.php(5654): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Resource_Website))
#16 /var/www/magento3/includes/src/__default.php(5659): Mage_Core_Model_Abstract->getResourceCollection()
#17 /var/www/magento3/includes/src/__default.php(20470): Mage_Core_Model_Abstract->getCollection()
#18 /var/www/magento3/includes/src/__default.php(20328): Mage_Core_Model_App->_initStores()
#19 /var/www/magento3/includes/src/__default.php(20211): Mage_Core_Model_App->_initCurrentStore('teich', 'website')
#20 /var/www/magento3/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#21 /var/www/magento3/index.php(126): Mage::run('teich', 'website')
#22 {main}