Skip to content

After running setup:upgrade cmd ‘magento2.core_config_data’ doesn’t exist in engine

After running the cmd php bin/magento setup:upgrade I am getting following error.

[2025-03-07T07:07:05.311272+00:00] main.ERROR: SQLSTATE[42S02]: Base table or view not found: 1932 Table ‘magento2.core_config_data’ doesn’t exist in engine, query was: SELECT main_table.* FROM core_config_data AS main_table

If i search with core_config_data database it says,
enter image description here

If i am trying this solution,

https://community.magento.com/t5/Magento-2-x-Technical-Issues/SQLSTATE-42S02-Base-table-or-view-not-found-1932-Table-magento/m-p/565835/highlight/true#M22468

But i can’t run above cmd, its return,

enter image description here

Help me to resolve the issue, thanks.

Additional Information:

If i run following sql cmd:

select * from information_schema.TABLES where TABLE_SCHEMA = 'magento2' and TABLE_NAME = 'core_config_data' 

I am getting,
enter image description here