|
本帖最后由 我是新手 于 2012-5-5 10:42 编辑
如题,以前在另外一台机器上能用,mysql版本是5.1,换机器后把CS服务端直接拷贝到新机器上,结果发现竟然出错,不能用了。新机器的mysql版本是5.5,到底什么问题谁给解决下啊。
war3版本为2.3.2 试过3.0的也会出错
L 05/05/2012 - 09:21:19: [warcraft3FT.amxx] Connection to MySQL database successful
L 05/05/2012 - 09:21:19: [warcraft3FT.amxx] Error in querying database, location: 2
L 05/05/2012 - 09:21:19: [warcraft3FT.amxx] Message: 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 '(14) NOT NULL, PRIMARY KEY (`playerid`, `race`))' at line 1 (1064)
L 05/05/2012 - 09:21:19: [warcraft3FT.amxx] Query statement: CREATE TABLE IF NOT EXISTS `war3users` (`playerid` VARCHAR(35) NOT NULL DEFAULT '', `playername` VARCHAR(35) NOT NULL DEFAULT '', `xp` INT(11) NOT NULL DEFAULT 0, `race` TINYINT(4) NOT NULL DEFAULT 0, `skill1` TINYINT(4) NOT NULL DEFAULT 0, `skill2` TINYINT(4) NOT NULL DEFAULT 0, `skill3` TINYINT(4) NOT NULL DEFAULT 0, `skill4` TINYINT(4) NOT NULL DEFAULT 0, `time` TIMESTAMP(14) NOT NULL, PRIMARY KEY (`playerid`, `race`)) |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|