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

#0 /home/acro/public_html/cartnkiosk.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(211): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/acro/public_html/cartnkiosk.com/lib/Zend/Db/Adapter/Abstract.php(441): Varien_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/acro/public_html/cartnkiosk.com/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#3 /home/acro/public_html/cartnkiosk.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#4 /home/acro/public_html/cartnkiosk.com/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#5 /home/acro/public_html/cartnkiosk.com/app/code/core/Mage/Core/Model/Resource.php(87): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#6 /home/acro/public_html/cartnkiosk.com/app/code/core/Mage/Core/Model/Resource/Setup.php(62): Mage_Core_Model_Resource->getConnection('core_setup')
#7 /home/acro/public_html/cartnkiosk.com/app/code/core/Mage/Core/Model/Resource/Setup.php(120): Mage_Core_Model_Resource_Setup->__construct('core_setup')
#8 /home/acro/public_html/cartnkiosk.com/app/code/core/Mage/Core/Model/Config.php(263): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#9 /home/acro/public_html/cartnkiosk.com/app/code/core/Mage/Core/Model/App.php(263): Mage_Core_Model_Config->init(Array)
#10 /home/acro/public_html/cartnkiosk.com/app/Mage.php(439): Mage_Core_Model_App->init('', 'store', Array)
#11 /home/acro/public_html/cartnkiosk.com/app/Mage.php(460): Mage::app('', 'store', Array)
#12 /home/acro/public_html/cartnkiosk.com/index.php(73): Mage::run()
#13 {main}