Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > some people report weird mySQL error about syntax

some people report weird mySQL error about syntax
Thread Tools
Grizzled Veteran
Join Date: Oct 2003
Status: Offline
Reply With Quote
Feb 7, 2005, 03:49 PM
 
Hi,

This is about a contribution I have developed for Zen Cart.

On an upgrade SQL script I have created as part of an upgrade package for current users to update to the latest version, I am getting some people reporting a 1064 MySQL error on the following statement.

Here is the exact error:
1064 You have an error in your SQL syntax near ' configuration_group SET configuration.configuration_group_id = configuration_gr' at line 1
Here is the SQL *edit: broke the statement up cause it was expanding the forum too far*:
Code:
UPDATE configuration, configuration_group SET configuration.configuration_group_id = configuration_group.configuration_group_id WHERE configuration_group.configuration_group_title = 'News & Articles Management' AND configuration.configuration_group_id = '2504';
The statement runs fine on mySQL 4.0.21 for me. I don't see what is causing the error, unless certain version of mySQL do not support such a statement. Any ideas?
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:08 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2