PHP程序安装过程中导入数据库时提示:
Sql Error
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 = MyISAM DEFAULT CHARACTER SET utf8\' at line 16
原因:MySQL数据库版本 5.5.x 之后,已经将TYPE这个table_type_option以ENGINE替代.
找到你安装程序的.sql数据库文件, 使用文本编辑器打开, 将所有的type = MyISAM 替换为 ENGINE = MyISAM , 然后在重新安装即可。