- 精华
- 阅读权限
- 100
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2015-11-29
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2016-2-14 19:43:51
|
显示全部楼层
Last login: Sun Feb 14 19:37:10 2016 from 192.168.200.1
[root@localhost ~]# su - mysql -c "mysqld_safe --skip-name-resolve --open-files-limit=4096&"
[root@localhost ~]# 160214 19:39:03 mysqld_safe Logging to '/db/mysql/localhost.localdomain.err'.
160214 19:39:03 mysqld_safe A mysqld process already exists
cd /home
[root@localhost home]# chmod a+x zt_login_ex
[root@localhost home]# rm nohup.out -f
[root@localhost home]# nohup ./zt_login_ex
nohup: appending output to ‘nohup.out’
[root@localhost home]# 192.168.200.3 3306 FLServerDB ztgame 123456 192.168.200.3 3306 ZtGameDB ztgame 123456 100000 8003 &
[1] 18265
-bash: 192.168.200.3: command not found
[root@localhost home]# cd /home/ztServer
[1]+ Exit 127 192.168.200.3 3306 FLServerDB ztgame 123456 192.168.200.3 3306 ZtGameDB ztgame 123456 100000 8003 (wd: /home)
(wd now: /home/ztServer)
[root@localhost ztServer]# ./UserServer
Unable to open file: /log/userserver.log
160214-19:39:26 UserServer DEBUG: ServerACL::ServerACL()
160214-19:39:26 UserServer DEBUG: 0, 1, 0, 192.168.100.100, 10000, 征途一区, 0, , 0, 0, 征途一区
160214-19:39:26 UserServer DEBUG: 0, 2, 0, 192.168.100.100, 10001, 征途二区, 0, , 0, 0, 征途二区
160214-19:39:26 UserServer INFO: 加载区信息列表文件成功
160214-19:39:26 UserServer DEBUG: dbCount = 1
160214-19:39:26 UserServer DEBUG: tableCount = 1
160214-19:39:26 UserServer DEBUG: tablePerDB = 1
160214-19:39:26 UserServer DEBUG: tableSize = 1000000
160214-19:39:26 UserServer INFO: Version of the mysql libs is 4.1.24
160214-19:39:47 UserServer ERROR: connect mysql://192.168.100.100:3306/FLServerDB failed...
160214-19:39:47 UserServer ERROR: reason: Can't connect to MySQL server on '192.168.100.100' (111)
160214-19:39:47 UserServer INFO: The mysql connect will been closed...
160214-19:39:47 UserServer ERROR: 连接数据库失败 mysql://ztgame:[email protected]:3306/FLServerDB
为什么会出现192.168.100.100 然后连接失败??? |
|