Bigcommerce:安装的出错解决方案

时间:2022-01-05 21:04:41

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

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'    删掉现有的数据库从新建一个