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

1146 Table ‘magento.core_resource’ doesn’t exist
 
WesleydeGast
Jr. Member
 
Total Posts:  1
Joined:  2012-06-03
 

Dear Develloppers,

I have seen this questions running by for several times now, but nobody was able to give me the wright anwser.

I running MAMP, MySQL and Magento Locally, just to try out this beautiful system, but… I’m getting an error that tells me that magento wasn’t able to detect a base table 1146 ‘magento.core_resource’.

Is there anyone who can please tell me how to fix this problem?

Thanks in advance.

Error in file: “/Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/sql/core_setup/install-1.6.0.0.php” - SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘magento.core_resource’ doesn’t exist

Trace:
#0 /Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(’Mage_Core’, ‘Error in file: ...’)
#1 /Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb(’install’, ‘’, ‘1.6.0.2’)
#2 /Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb(’1.6.0.2’)
#3 /Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /Users/wesleydegast/localhost/magento/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /Users/wesleydegast/localhost/magento/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#7 /Users/wesleydegast/localhost/magento/index.php(87): Mage::run(’’, ‘store’)
#8 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Siggi_Schmitz
Enthusiast
 
Avatar
Total Posts:  811
Joined:  2011-07-03
 

Do you have the correct database data in app/etc/local.xml? Table prefix, database name etc.?

 
Magento Community Magento Community
Magento Community
Magento Community
 
GoMageTeam
Guru
 
Avatar
Total Posts:  356
Joined:  2013-01-13
Warsaw, Poland
 

Hello,

Most likely, your connection with the database has been configured incorrectly in the file local.xml. If you transferred the site from another hosting to the local one, you need to import dump database, change the connection settings with the database in the file local.xml and do the following:
http://www.magentocommerce.com/wiki/recover/restore_base_url_settings

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