As lhungil has cleverly observed, this could be (read: Probably is) related to a bug in an older version of phpmyadmin.
All is not lost though - You could ask your hosting provider to update this software - OR, you can try this.
1) Install ZenCart V1.5 on the new server - but DON'T install the demo/sample products.
2) Using phpmyadmin on the new server select the database. (this should give you a list of all the tables).
3) Click the 'empty' button on any tables that have more than '0' rows. (or select all tables, then select 'empty' from the dropdown box)
4) On the old server do another 'export' using the same settings as you did previously, but this time make sure the option
"Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT statement" is UNCHECKED.
5) Try the import again.
Sorry, but I can't *guarantee* that this will work because there could be differences in the table structure between the two difference versions of ZenCart.
If it doesn't work, you could also try exporting/importing as a two step process.
On the first export, select 'structure' (rather than structure and data). Ensure the
"Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT statement" is CHECKED.
Import this into the new server. If there are no errors, go back to the original server and perform another export of just the 'data' (rather than structure and data). Ensure the
"Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT statement" is UNCHECKED.
Import into the new server
Again, I can't guarantee that this will work, but if it does fail it will do so when trying to do the 1st import (the 'structure').
If *neither* method works, and your host won't update their phpmyadmin version, there are still other methods possible, but I feel it best to not go there at this point in time. Please do let us know though.
Cheers
RodG



Reply With Quote

