• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

SQL Error on upgrading

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • 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]
 
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic