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

pdo_mysql extension is not installed
 
Robert H
Member
 
Avatar
Total Posts:  38
Joined:  2008-11-16
 

I went to visit my store and I get this result. Whats going on here?

pdo_mysql extension is not installed
Trace
:
#0 /home/enveeapp/public_html/shop/lib/Zend/Db/Adapter/Abstract.php(390): Varien_Db_Adapter_Pdo_Mysql->_connect()
#1 /home/enveeapp/public_html/shop/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#2 /home/enveeapp/public_html/shop/lib/Varien/Db/Adapter/Pdo/Mysql.php(199): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#3 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#4 /home/enveeapp/public_html/shop/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/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(248): Mage_Core_Model_Resource->getConnection('core_read')
#6 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(263): Mage_Core_Model_Mysql4_Abstract->_getConnection('read')
#7 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(283): Mage_Core_Model_Mysql4_Abstract->_getReadAdapter()
#8 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(68): Mage_Core_Model_Mysql4_Abstract->getReadConnection()
#9 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Config.php(721): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Object(Mage_Core_Model_Mysql4_Website))
#10 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Config.php(763): Mage_Core_Model_Config->getModelInstance('core_mysql4/web...', Object(Mage_Core_Model_Mysql4_Website))
#11 /home/enveeapp/public_html/shop/app/Mage.php(342): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#12 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Abstract.php(191): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#13 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/Abstract.php(196): Mage_Core_Model_Abstract->getResourceCollection()
#14 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/App.php(361): Mage_Core_Model_Abstract->getCollection()
#15 /home/enveeapp/public_html/shop/app/code/core/Mage/Core/Model/App.php(239): Mage_Core_Model_App->_initStores()
#16 /home/enveeapp/public_html/shop/app/Mage.php(424): Mage_Core_Model_App->init('', 'store', Array)
#17 /home/enveeapp/public_html/shop/app/Mage.php(443): Mage::app('', 'store', Array)
#18 /home/enveeapp/public_html/shop/index.php(52): Mage::run()
#19 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
helpinghandhost
Sr. Member
 
Avatar
Total Posts:  171
Joined:  2007-11-12
 

What’s going on is that one of the mandatory PHP modules required to run Magento is pdo_mysql, so you need to ask your hosting provider to install it for you.

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