PHP头条
热点:

php数据库导入数据问题


php数据数据库

错误
SQL 查询:

-- Database: 'rocboss'


-- 表的结构 'roc_attachment'

CREATE TABLE IF NOT EXISTS 'roc_attachment'(

'id'INT( 11 ) UNSIGNED NOT NULL ,
'uid'MEDIUMINT( 8 ) UNSIGNED NOT NULL ,
'path'VARCHAR( 128 ) NOT NULL ,
'time'INT( 11 ) UNSIGNED NOT NULL ,
'tid'INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',
'pid'INT( 11 ) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE = MYISAM AUTO_INCREMENT =3 DEFAULT CHARSET = utf8 ROW_FORMAT = DYNAMIC ;

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 ''roc_attachment' (
'id' int(11) unsigned NOT NULL,
'uid' mediumint(8) unsign' at line 11

求大神  做好的数据想往数据库里面导 MySQL数据库

www.phpzy.comtrue/php/2130.htmlTechArticlephp数据库导入数据问题 php数据数据库 错误 SQL 查询: -- Database: 'rocboss' -- 表的结构 'roc_attachment' CREATE TABLE IF NOT EXISTS 'roc_attachment'( 'id'INT( 11 ) UNSIGNED NOT NULL , 'uid'MEDIUMINT( 8 ) UNSIGNED NOT NUL...

相关文章

相关频道:

PHP之友评论

今天推荐