- 下载论坛框架jforum
- 下载Tomcat,将jforum解压后的文件放置在Tomcat%TOMCAT_HOME%webapps/目录,并启动Tomcat;
- 安装mysql并且新建数据库
- 输入http://127.0.0.1:8080/jforum-2.1.9/install.jsp 安装jforum
- 所有信息输入正确后点击确定有如下报错
报错信息:
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 (banli