• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SQL Error on upgrading

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to upgrade from 2.1.7 to 2.1.8 and am getting the following SQL error on the update script mysql_2.1.7_to_2.1.8.sql

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 ';
! 1064 ALTER TABLE jforum_posts ADD INDEX(need_moderate);
ALTER TABLE jforum_posts AD' at line 1



I am using MySQL 5.0.22 on a Linux machine running fedora and running the query in MySQL Query Browser.

Any ideas on what I need to do? Thanks.
[originally posted on jforum.net by BrettC]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try running the query step by step in the query browser (one piece at a time) and see if it work.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic