bitsCN.com
mysql5.5.23 TYPE=InnoDB语法错误
CREATE TABLE IF NOT EXISTS `ad_aXXXX_test_delete` ( `payment` double(15,4) default '0.0000', `createdatetime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`aspid`,`date`)) TYPE=InnoDB;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'
在MYSQL5.5及以后版本中type=InnoDB 由ENGINE=InnoDB 代替。
由于5.5默认的存储引擎就是InnoDB,因此去掉这个属性不会有影响。
bitsCN.com