View Single Post
  #3  
Old 03-09-2009, 03:03 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

The problem is that 'range' became a reserved word in MySQL 5.1. Edit the SQL file and enclose range in 'backticks', e.g.

Code:
  `range` int(11) NOT NULL default '0',
Once you fix that, you will probably get another error:
Code:
ERROR 1060 (42S21): Duplicate column name 'id'
To fix that, I changed:
Code:
  PRIMARY KEY  (id,id)
to
Code:
  PRIMARY KEY  (id)
Reply With Quote