MySQL Forums
Forum List  »  InnoDB

Re: #1064 - 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 ') TYPE=InnoDB'
Posted by: Ryan Ward
Date: July 17, 2007 06:45PM

Thank you very much, I got that all updated, now when I try to load the second one I get this...

Error at the line 31: ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Query: CREATE TABLE `race_powers` ( `power_name` varchar(15) NOT NULL default '', `race_id` int(11) NOT NULL default '0', PRIMARY KEY (`race_id`,`power_name`), KEY `race_id` (`race_id`), KEY `power_name` (`power_name`), KEY `power_name_2` (`power_name`), CONSTRAINT `0_2190` FOREIGN KEY (`race_id`) REFERENCES `races` (`race_id`), CONSTRAINT `0_2191` FOREIGN KEY (`power_name`) REFERENCES `powers` (`power_name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

MySQL: Can't create table './retroeqdb/race_powers.frm' (errno: 150)

Stopped on error

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: #1064 - 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 ') TYPE=InnoDB'
53321
July 17, 2007 06:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.