Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Database Won't Update from 1.3.8 to 1.3.9

Database Won't Update from 1.3.8 to 1.3.9

Views: 1,150

Results 1 to 5 of 5
4 Jun 2011, 8:08 PM
#1
aevalin avatar

aevalin

New Zenner

Join Date:
Jan 2004
Posts:
8
Plugin Contributions:
0

Database Won't Update from 1.3.8 to 1.3.9

It doesn't appear to be the same error that others are experiencing re: charsets...this is what the error message is...

1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT media_id FROM media_manager)' at line 1
in:
[DELETE FROM media_to_products where media_id not in ( SELECT media_id FROM media_manager);]

I did a test store with the same data, same files etc, the only difference was that the version of mySQL was newer. Is that what's causing the issue? If so are there any work arounds beyond creating a new database, backing up the old data into it and changing the config file info?

5 Jun 2011, 4:20 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Database Won't Update from 1.3.8 to 1.3.9

What version of MySQL is on the server that you're running zc_install on?

5 Jun 2011, 1:05 PM
#3
aevalin avatar

aevalin

New Zenner

Join Date:
Jan 2004
Posts:
8
Plugin Contributions:
0

Re: Database Won't Update from 1.3.8 to 1.3.9

DrByte:

What version of MySQL is on the server that you're running zc_install on?

mySQL 4.0
Apparently the hosting company updated what version of mySQL they use, so when I created my new test database, it was using 5.0.

5 Jun 2011, 2:03 PM
#4
aevalin avatar

aevalin

New Zenner

Join Date:
Jan 2004
Posts:
8
Plugin Contributions:
0

Re: Database Won't Update from 1.3.8 to 1.3.9

DrByte:

What version of MySQL is on the server that you're running zc_install on?

mySQL 4.0
Apparently the hosting company updated what version of mySQL they use, so when I created my new test database, it was using 5.0.

Ok - I suspect that may have been the issue. I updated the data in the mySQL database I used for testing and connected the site to it, did the database upgrade and it's fine and dandy now- or at least it seems to be.

5 Jun 2011, 5:39 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Database Won't Update from 1.3.8 to 1.3.9

Should be fine using the newer version of MySQL.