出现错误:
mysql的当前版本不支持使用'type=InnoDB' 这种引擎
去掉type=InnoDB
则建表成功。
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,
mysql的当前版本不支持使用'type=InnoDB' 这种引擎
DROP TABLE IF EXISTS jforum_banlist;
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)
) [color=darkred]TYPE=InnoDB[/color];
去掉type=InnoDB
则建表成功。