现在的位置:
首页 >
新手入门 >
常见控制台启动错误原因及解决方法
兵锋发布于2008-01-05 07:21:48
芒果中文
World Database: 127.0.0.1;3306;root;root;mangos-tbc Could not connect to MySQL database at 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (10061) Cannot connect to world database 127.0.0.1;3306;root;root;mangos-tbc |
出错代码:10061
出错原因:MySQL服务没有启动
解决方法:启动MySQL服务
World Database: 127.0.0.1;3306;root;root;mangos-tbc Could not connect to MySQL database at 127.0.0.1: Access denied for user 'root'@'localhost' (using password: YES) Cannot connect to world database 127.0.0.1;3306;root;root;mangos-tbc |
出错原因:不能连接数据库
解决方法:检查mangosd.conf配置文件中数据库的连接用户名密码是否正确。
World Database: 127.0.0.1;3306;root;root;mangos-tbc2 Could not connect to MySQL database at 127.0.0.1: Unknown database 'mangos-tbc2' Cannot connect to world database 127.0.0.1;3306;root;root;mangos-tbc2 |
出错原因:找不到数据库
解决方法:检查mangosd.conf配置文件中数据库名是否正确。
WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds Check existing of map file './maps/0004331.map': not exist! Correct *.map files not found in path './maps' or *.vmap/*vmdir files in './vmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file. |
出错原因:找不到地图文件
解决方法:请正确解压缩地图或者更改配置文件中的Expansion = 0。
mangos> mangos>create 1 1 User 1 with password 1 created successfully mangos>SQL: INSERT INTO `account`(`username`,`I`,`joCAT(UPPER'1'),':',UPPER('1'))),NOW()) SQL ERROR: Field 'pwd' doesn't have a default value |
出错原因:未指定pwd字段的默认值
解决方法:用Navicat for MySQL打开realmd-tbc数据库,在右边找到account,选中(不是打开),点上面的设计表。在新开窗口的第三行找到pwd字段,最后一列“允许为空”复选框,选中,保存。
陆续更新中……希望有朋友出现启动问题,也将问题在群里提交给我。我会在这里发出解决方法。
转载请注明
【来自芒果中文 www.mangoschina.com】