mysql版本不同所导致SQL语句执行错误的问题
TYPE=InnoDB;是旧版本的在新版本执行时会出现
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' at line 12
解决方法:ENGINE=InnoDB改为ENGINE=InnoDB
ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
okay
页:
[1]