SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

#0 /srv/www/production/releases/20150615215148/lib/Varien/Db/Adapter/Pdo/Mysql.php(167): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /srv/www/production/releases/20150615215148/lib/Zend/Db/Adapter/Abstract.php(390): Varien_Db_Adapter_Pdo_Mysql->_connect()
#2 /srv/www/production/releases/20150615215148/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#3 /srv/www/production/releases/20150615215148/lib/Varien/Db/Adapter/Pdo/Mysql.php(230): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#4 /srv/www/production/releases/20150615215148/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#5 /srv/www/production/releases/20150615215148/app/code/core/Mage/Core/Model/Resource.php(83): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#6 /srv/www/production/releases/20150615215148/app/code/core/Mage/Core/Model/Resource/Setup.php(62): Mage_Core_Model_Resource->getConnection('core_setup')
#7 /srv/www/production/releases/20150615215148/app/code/core/Mage/Core/Model/Resource/Setup.php(119): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#8 /srv/www/production/releases/20150615215148/app/code/core/Mage/Core/Model/Config.php(215): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#9 /srv/www/production/releases/20150615215148/app/code/core/Mage/Core/Model/App.php(243): Mage_Core_Model_Config->init(Array)
#10 /srv/www/production/releases/20150615215148/app/Mage.php(425): Mage_Core_Model_App->init('', 'store', Array)
#11 /srv/www/production/releases/20150615215148/app/Mage.php(444): Mage::app('', 'store', Array)
#12 /srv/www/production/releases/20150615215148/index.php(52): Mage::run()
#13 {main}