0

Here is an error that occurs when I run setup:install command on clean database magento2

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clean.core_confi
g_data' doesn't exist

I added sequence

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="DevAll_Patches" >
        <sequence>
            <module name="Magento_Config"/>
        </sequence>
    </module>
</config>

For my DataPatches but still couldn't fix an issue. what can be the problem?

2
  • Confirm this table is available into the database : core_config_data Dec 17, 2021 at 4:20
  • If the issue comes from your custom module just try to disable it until the base setup has been made. Dec 17, 2021 at 21:24

1 Answer 1

0

According to your error message, it seems that you Magento have installed but some database schema queries didn't get executed. Please check your database for the 'core_config_data' table. If not there create it manually or reinstall Magento2.

1
  • somewhere in the new code SET AREA CODE was used , that was the problem. thanks for the answer. Jan 4, 2022 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.