If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading to 2.x.x / Table prefix error during install

Table prefix error during install

Started by g2ktcf on 6 Apr 2025, 3:26 PM · Views: 3,765

Results 1 to 3 of 3
6 Apr 2025, 3:26 PM
#1
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Table prefix error during install

I am setting up a local development environment for ZC 2.1.0. I did not have a table prefix in the initial install. However, my SQL dump from my production environment is zen_ so now I have two full sets of tables in my db. Is there any easy way to drop all the tables with the zen_? Or do I need to start over? ugh

6 Apr 2025, 4:04 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Table prefix error during install

If you go into phpMyAdmin, you will be able to get a list of tables in alphabetical order. Click the first zen_ table and shift click the last, then at the bottom, from the dropdown pick "DROP TABLE".

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Apr 2025, 4:12 PM
#3
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Re: Table prefix error during install

That got it! Thanks