i have a Windows 2003 server with MySQL 5.5. I am attempting to import a MySQL dump, however a Syntax error is being generated on the table creates. When I try the same query on my Linux 5.1 installation, there is no problem.
The original data does not exist, so im somewhat stuck now..
CREATE TABLE `articledata`
(
`ID` integer (10) UNSIGNED NOT NULL AUTO_INCREMENT ,
`templateid` integer (11) NOT NULL DEFAULT 0,
`issueid` integer (11) NOT NULL DEFAULT 0,
`articletitle` varchar (255) NOT NULL,
`articletext` text NOT NULL,
`articlepic1` varchar (255) NOT NULL,
`articlepriority` integer (11) NOT NULL DEFAULT 0,
`articledetails` text NOT NULL,
`articledetailstitle2` varchar (255) NOT NULL,
`articledetails2` text NOT NULL,
`articlepic2` varchar (255) NOT NULL,
`articledetailstitle` varchar (255) NOT NULL,
`articlepic1a` varchar (255) NOT NULL,
`subclusterid` integer (11) NOT NULL,
PRIMARY KEY (`ID`)
) TYPE=InnoDB CHARACTER SET latin1 COLLATE latin1_swedish_ci;
Error is
ERROR 1064 <42000>: You have an error in your SQL syntax near: TYPE=InnoDB CHARACTER SET latin1 COLLATE latin1_swedish_ci;