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 magento.stackexchange.com, 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 community@magento.com.

Magento Forum

SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
 
songul172
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..

Trace:
#0 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(300): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/lib/Zend/Db/Adapter/Abstract.php(459): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(’SET NAMES utf8’, Array)
#4 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(389): Zend_Db_Adapter_Pdo_Abstract->query(’SET NAMES utf8’, Array)
#5 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/code/core/Mage/Core/Model/Resource.php(169): Varien_Db_Adapter_Pdo_Mysql->query(’SET NAMES utf8’)
#6 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection(’pdo_mysql’, Object(Mage_Core_Model_Config_Element))
#7 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(141): Mage_Core_Model_Resource->getConnection(’core_setup’)
#8 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(234): Mage_Core_Model_Resource_Setup->__construct(’core_setup’)
#9 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/code/core/Mage/Core/Model/App.php(412): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/code/core/Mage/Core/Model/App.php(338): Mage_Core_Model_App->_initModules()
#11 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#12 /home/admin/domains/veiligheidsspiegels-shop.nl/public_html/index.php(80): Mage::run(’’, ‘store’)
#13 {main}

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