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

#0 /chroot/home/greenbox/wheatpaste.com/html/store/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /chroot/home/greenbox/wheatpaste.com/html/store/lib/Varien/Db/Adapter/Pdo/Mysql.php(249): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /chroot/home/greenbox/wheatpaste.com/html/store/lib/Zend/Db/Adapter/Abstract.php(459): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /chroot/home/greenbox/wheatpaste.com/html/store/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /chroot/home/greenbox/wheatpaste.com/html/store/lib/Varien/Db/Adapter/Pdo/Mysql.php(331): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(43): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Resource.php(91): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#7 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(295): Mage_Core_Model_Resource->getConnection('core_read')
#8 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(310): Mage_Core_Model_Mysql4_Abstract->_getConnection('read')
#9 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(330): Mage_Core_Model_Mysql4_Abstract->_getReadAdapter()
#10 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(116): Mage_Core_Model_Mysql4_Abstract->getReadConnection()
#11 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Config.php(1252): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Object(Mage_Core_Model_Mysql4_Website))
#12 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Config.php(1285): Mage_Core_Model_Config->getModelInstance('core_mysql4/web...', Object(Mage_Core_Model_Mysql4_Website))
#13 /chroot/home/greenbox/wheatpaste.com/html/store/app/Mage.php(458): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#14 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Abstract.php(206): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#15 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/Abstract.php(211): Mage_Core_Model_Abstract->getResourceCollection()
#16 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/App.php(567): Mage_Core_Model_Abstract->getCollection()
#17 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/App.php(427): Mage_Core_Model_App->_initStores()
#18 /chroot/home/greenbox/wheatpaste.com/html/store/app/code/core/Mage/Core/Model/App.php(333): Mage_Core_Model_App->_initCurrentStore('greenbox', 'store')
#19 /chroot/home/greenbox/wheatpaste.com/html/store/app/Mage.php(625): Mage_Core_Model_App->run(Array)
#20 /chroot/home/greenbox/wheatpaste.com/html/store/index.php(106): Mage::run('greenbox', 'store')
#21 {main}