cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.3 update, getting "sales_order_grid" already exists error when running setup:upgrade

Magento 2.3.3 update, getting "sales_order_grid" already exists error when running setup:upgrade

After running a 2.2.5 to 2.3.3 upgrade on two separate sites,  I am getting the following error when running setup:upgrade

 

SQLSTATE[42S01]: Base table or view already exists: 1050 Table '`db`.`sales_order_grid` already exists.

 

The table is not in the database, I confirmed that.  I also can't create the table manually in MySQL.

2 REPLIES 2

Re: Magento 2.3.3 update, getting "sales_order_grid" already exists error when running set

Hello @gismagento2 

 

Did you try this accepted solution?

 

https://magento.stackexchange.com/questions/267526/2-3-to-2-3-1-upgrade-showing-sales-order-grid-alr...

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Magento 2.3.3 update, getting "sales_order_grid" already exists error when running set

Hello @gismagento2 

 

Can you please first check your core_resource table and check is there entry of module-sales module. if not than please add it and re-run the command.

 

Problem solved?? please Accept as Solution & give Kudos

 

Thank you

Anant P

Thank you
Anant Prajapati
Magento Certified Developer