Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑难] 帮帮忙

[复制链接]
落伍的菜菜 发表于 2009-10-30 12:34:22 | 显示全部楼层 |阅读模式
安装开心农场时第一步执行SQL就犯难了。。

错误
SQL 查询:

CREATE TABLE `uchome_plug_newfarm` (

`uid` mediumint( 8 ) NOT NULL ,
`farmlandstatus` text CHARACTER SET utf8 NOT NULL ,
`animal` text CHARACTER SET utf8 NOT NULL ,
`taskid` int( 2 ) NOT NULL default '1',
`charm` int( 10 ) NOT NULL default '0',
`money` int( 10 ) NOT NULL default '0',
`exp` int( 10 ) NOT NULL default '0',
`mc_exp` int( 10 ) NOT NULL default '0',
`fb` int( 10 ) NOT NULL default '0',
`reclaim` smallint( 2 ) NOT NULL default '6',
`package` text CHARACTER SET utf8 NOT NULL ,
`mc_package` text CHARACTER SET utf8 NOT NULL ,
`fertilizer` text CHARACTER SET utf8 NOT NULL ,
`decorative` text CHARACTER SET utf8 NOT NULL ,
`fruit` text CHARACTER SET utf8 NOT NULL ,
`dog` text CHARACTER SET utf8 NOT NULL ,
`nosegay` text CHARACTER SET utf8 NOT NULL ,
`message` text CHARACTER SET utf8 NOT NULL ,
`mc_taskid` int( 2 ) NOT NULL default '0',
`mc_taskid1` int( 2 ) NOT NULL default '0',
`mc_log` text CHARACTER SET utf8 NOT NULL ,
`log` text CHARACTER SET utf8 NOT NULL ,
PRIMARY KEY ( `uid` )
) ENGINE = MYISAM DEFAULT CHARSET = gbk;



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 'character set utf8 NOT NULL,
  `animal` text character set utf



怎么办?
五元超市 发表于 2009-10-30 13:37:27 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| 落伍的菜菜 发表于 2009-10-30 15:02:45 | 显示全部楼层
MYSQL版本是4.0.26
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-19 04:30 , Processed in 0.021637 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表