cancel
Showing results for 
Search instead for 
Did you mean: 

Setup_Module Table is missing in My database and Unable to create new table in Database in magento 2

Setup_Module Table is missing in My database and Unable to create new table in Database in magento 2

Hi,

In My Database Setup_Module table is missing and i am unable to create new table in that database.

How can i resole that issue?

 

Thanks in Advance

3 REPLIES 3

Re: Setup_Module Table is missing in My database and Unable to create new table in Database in magen

Hello @sekhar_n 

 

rename env.php and try to install magento again, it will add all tables.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Setup_Module Table is missing in My database and Unable to create new table in Database in magen

Hi Sunil Patel,

 

Could you please explain me briefly ?

Re: Setup_Module Table is missing in My database and Unable to create new table in Database in magen

Hello,

 

env.php file to identify is your magento installed or not.

 

if you remove this file, magento will ask to install magento again and install your magento again.

 

make sure you take db backup .

 

hope it will work for you. 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer