我下载了mysql-async
,essentialmode
,esplugin_mysql
,es_admin2
,async
,并且显示了此错误。
关于什么?请帮我,我正在尝试创建服务器。
[ERROR] connect ETIMEDOUT
Connecting: kworthbati
Sending heartbeat to live-internal.fivem.net:30110
[ERROR] [MySQL] [esplugin_mysql] An error happens on MySQL for query
"SELECT * FROM users WHERE `identifier`='steam:1100001337cd964';":
connect ETIMEDOUT
Error running call reference function for resource esplugin_mysql:
citizen:/scripting/lua/scheduler.lua:355: @esplugin_mysql/server.lua:16:
attempt to index a nil value (local 'users')
stack traceback:
@esplugin_mysql/server.lua:16: in upvalue 'ref'
citizen:/scripting/lua/scheduler.lua:341: in function
<citizen:/scripting/lua/scheduler.lua:340>
[C]: in function 'xpcall'
citizen:/scripting/lua/scheduler.lua:340: in function
<citizen:/scripting/lua/scheduler.lua:339>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:355: in function
<citizen:/scripting/lua/scheduler.lua:324>
Error: Unhandled error in timer: Error: BUFFER_SHORTAGE
Error: BUFFER_SHORTAGE
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766)
at h (citizen:/scripting/v8/msgpack.js:29:15761)
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908)
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972)
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076)
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097)
at unpack (citizen:/scripting/v8/main.js:20:33)
at citizen:/scripting/v8/main.js:51:20
at setImmediate (mysql-async.js:14431:7)
at Object.callback (citizen:/scripting/v8/timer.js:96:21)
答案 0 :(得分:1)
您的连接超时,可能是由于您没有正确的SQL数据库端口/ IP或端口/连接被阻止。通过尝试使用HeidiSQL连接到SQL DB来排除连接故障,并确保IP / PORT / CREDENTIALS匹配。