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