Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
Jr. Member
Total Posts:  1
Joined:  2012-03-02

Please help, i have this problem, i am looking the hole day but cannot solve the problem..

#0 /home/admin/domains/ Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/admin/domains/ Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/admin/domains/ Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/admin/domains/ Zend_Db_Adapter_Abstract->query(’SET NAMES utf8’, Array)
#4 /home/admin/domains/ Zend_Db_Adapter_Pdo_Abstract->query(’SET NAMES utf8’, Array)
#5 /home/admin/domains/ Varien_Db_Adapter_Pdo_Mysql->query(’SET NAMES utf8’)
#6 /home/admin/domains/ Mage_Core_Model_Resource->_newConnection(’pdo_mysql’, Object(Mage_Core_Model_Config_Element))
#7 /home/admin/domains/ Mage_Core_Model_Resource->getConnection(’core_setup’)
#8 /home/admin/domains/ Mage_Core_Model_Resource_Setup->__construct(’core_setup’)
#9 /home/admin/domains/ Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 /home/admin/domains/ Mage_Core_Model_App->_initModules()
#11 /home/admin/domains/ Mage_Core_Model_App->run(Array)
#12 /home/admin/domains/ Mage::run(’’, ‘store’)
#13 {main}

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top