跳转到主要内容
Burton 提交于 19 June 2012
Notice: Undefined index: tinyint:normal in DatabaseSchema_mysql->processField() (line 205 of F:\wamp\www\leanlinking\trunk\includes\database\mysql\schema.inc). PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 'NOT NULL, PRIMARY KEY (`commentid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf' at line 7: CREATE TABLE {usercomment} ( `commentid` INT unsigned NOT NULL, `comment_contents` VARCHAR(255) NOT NULL, `user_id` INT NOT NULL, `create_date` VARCHAR(50) NOT NULL, `submit_time` VARCHAR(30) NOT NULL, `is_supplier` NOT NULL, PRIMARY KEY (`commentid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8; Array ( ) in db_create_table() (line 2685 of F:\wamp\www\leanlinking\trunk\includes\database\database.inc). 这个错误怎么解决呀?朋友帮助一下。。。。。。