风言枫语  

我们在本地安装时报错了,具体如下:

1. The database details you entered are incorrect: 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 CHARSET=utf8 COLLATE utf8_general_ci' at line 13


解决:在/admin/templates/install.sample.tpl第2234行,或者搜索:TYPE=MyISAM DEFAULT

TYPE=MyISAM DEFAULT改为:ENGINE=MyISAM DEFAULT



2. The database details you entered are incorrect: Duplicate entry '2' for key 'PRIMARY'    删掉现有的数据库从新建一个

posted on 2013-09-11 19:09  风言枫语  阅读(216)  评论(0编辑  收藏  举报