Using MySQL Workbench 5.0.30 OSS, I try to produce a simple SQL script to create tables, yet what it produces doesn't seem to be the least bit compatible with MySQL Ver 14.14 Distrib 5.1.42, for Win32 (ia32).
Update: Here is the SQL generated from MySQL Workbench:
CREATE TABLE IF NOT EXISTS `mydb`.`Table1` (
`idClaimNum` NOT NULL ,
`URI` VARCHAR(150) NOT NULL ,
PRIMARY KEY (`idClaimNum`) )
ENGINE = InnoDB;
Error recieved:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the ma
nual that corresponds to your MySQL server version for the right syntax to use n
ear 'NOT NULL ,
URI
VARCHAR(150) NOT NULL ,
PRIMARY KEY (idClaimNum
) )
ENGINE' at line 2