语句如下:#tablestructruefortable'blte_online'CREATETABLEIFNOTEXISTSblte_online(user_idint(11)NOTNULLDEFAULT'',user_namevarchar(64)NOTNULLDEFAULT'',user_ipvarchar(15)NOTN...
语句如下:
#table structrue for table 'blte_online'
CREATE TABLE IF NOT EXISTS blte_online(
user_id int(11) NOT NULL DEFAULT '',
user_name varchar(64) NOT NULL DEFAULT '',
user_ip varchar(15) NOT NULL DEFAULT '',
rtime int(11) NOT NULL DEFAULT '',
);
#Table structure for table 'blte_lines'
CREATE TABLE IF NOT EXISTS blte_lines (
line_id int(11) NOT NULL DEFAULT '',
from_id int(11) NOT NULL DEAULT '',
from_name varchar(64) NOT NULL DEAULT '',
line_stamp int(11) NOT NULL DEAULT '',
line_txt varchar(255) NOT NULL DEAULT '',
line_biu varchar(3) NOT NULL DEAULT '',
line_clr varchar(32) NOT NULL DEAULT '',
);
导入后显示错误:
错误
SQL 查询:
#table structrue for table 'blte_online'
CREATE TABLE IF NOT EXISTS blte_online(
user_id INT( 11 ) NOT NULL DEFAULT '',
user_name VARCHAR( 64 ) NOT NULL DEFAULT '',
user_ip VARCHAR( 15 ) NOT NULL DEFAULT '',
rtime INT( 11 ) NOT NULL DEFAULT '',
);
MySQL 返回:
#1064 - 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 ')' at line 7
展开