出错详情

部署JForum 2.1.9安装时遇到的问题:报错数据库问题

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 1
Query being executed when exception was thrown:
CREATE TABLE jforum_banlist ( banlist_id INT NOT NULL auto_increment, user_id INT, banlist_ip varchar(15), banlist_email varchar(255), PRIMARY KEY (banlist_id), INDEX idx_user (user_id), INDEX (banlist_ip), INDEX (banlist_email)) TYPE=InnoDB
CREATE TABLE jforum_banlist ( banlist_id INT NOT NULL auto_increment, user_id INT, banlist_ip varchar(15), banlist_email varchar(255), PRIMARY KEY (banlist_id), INDEX idx_user (user_id), INDEX (banlist_ip), INDEX (banlist_email)) TYPE=InnoDB

解决

1、找到mysql_db_struct.sql文件,用文本编辑器打开(我用的Notepad++)
部署JForum 2.1.9安装时遇到的问题:报错数据库问题
2、全部替换:TYPE = InnoDB —> ENGINE=InnoDB
(Notepad可以批量替换,步骤如下。其他文本编辑器批量替换请自行百度)
部署JForum 2.1.9安装时遇到的问题:报错数据库问题
3、回到JForum安装网页,点击“修改状态”,继续安装步骤。
4、成功!
部署JForum 2.1.9安装时遇到的问题:报错数据库问题

相关文章:

  • 2022-12-23
  • 2021-09-15
  • 2021-12-10
  • 2021-05-26
  • 2022-12-23
  • 2022-01-13
  • 2021-05-20
  • 2022-12-23
猜你喜欢
  • 2021-03-30
  • 2021-09-29
  • 2021-04-30
  • 2021-07-14
  • 2022-12-23
  • 2021-11-15
相关资源
相似解决方案