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

How to solve this error?? 
 
Aamit
Jr. Member
 
Total Posts:  12
Joined:  2008-12-04
 

Hi,
i am using magento-1.1.8, i install it , using from last 20 to 25 days.
up to 19th Jan it works fine . I am not changed anything in code.
and today it gives error for…

pdo_mysql extension is not installed
Trace:
#0 /home/public_html/magento/lib/Zend/Db/Adapter/Abstract.php(390): Varien_Db_Adapter_Pdo_Mysql->_connect()
#1 /home/public_html/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(’SET NAMES utf8’, Array)
#2 /home/public_html/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php(230): Zend_Db_Adapter_Pdo_Abstract->query(’SET NAMES utf8’, Array)
#3 /home/public_html/magento/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query(’SET NAMES utf8’)
#4 /home/public_html/magento/app/code/core/Mage/Core/Model/Resource.php(83): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#5 /home/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(62): Mage_Core_Model_Resource->getConnection(’core_setup’)
#6 /home/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(119): Mage_Core_Model_Resource_Setup->__construct(’core_setup’)
#7 /home/public_html/magento/app/code/core/Mage/Core/Model/Config.php(215): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#8 /home/public_html/magento/app/code/core/Mage/Core/Model/App.php(243): Mage_Core_Model_Config->init(Array)
#9 /home/public_html/magento/app/Mage.php(424): Mage_Core_Model_App->init(’’, ‘store’, Array)
#10 /home/public_html/magento/app/Mage.php(443): Mage::app(’’, ‘store’, Array)
#11 /home/public_html/magento/index.php(52): Mage::run()
#12 {main}

How to solve this??

 
Magento Community Magento Community
Magento Community
Magento Community
 
fivestar
Sr. Member
 
Total Posts:  115
Joined:  2008-06-18
 

Call your host and tell them to enabled pdo_mysql on your account. They probably made changes to their shared server, and forgot to re-enable pdo.

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