Closed Gittified closed 5 years ago
Would you mind posting the first error that happens and not just the trace?
I think that the whole error will help better tracking the issue
Duplicate?
Duplicate of #64
Or it least it looks like it.
But is this gonna get resolved?
Unlikely in #64, you will need to provide maybe a full log.
./run.sh +exec server.cfg > output.log
to create a log.
output.log It looks like the error has changed, still weird error though since my string is totally fine
Error: (node:10331) UnhandledPromiseRejectionWarning: Error: Empty mysql_connection_string detected.
How about you properly use set mysql_connection_string
To connect to mysql?
As I said I have property set it, for some reason the issue changed. I'll send you the string
set mysql_connection_string "server=5.226.143.66;uid=fivem;password=CENSORED;database=essentialmode"
try and set it before you call the resources. Somehow it says it is empty.
It's the first line of the server.cfg
try and delete the cache folder.
Alright one second
No startup errors, let me login to the server
Suddently it wasn't done yet. output.log
Also got 2 errors ingame
Is it possible that my server.cfg is corrupt or anything? Also the option es_enablecustomdata from essentialmode does nothing
[91mError: (node:10481) UnhandledPromiseRejectionWarning: Error: Empty mysql_connection_string detected.
still the empty connection string, but there are a few more errors.
Maybe get support on the forums for it.
I will this errors f***** up my whole playerbase. First night we had 32 players online. Next day the server went down and it haven't been up for several days. I will create a topic
i have the same issue too im using linux and updated to latest version..
i iget theese errors after that clear console
(errors appears after 3-4 secons later from other stuff)
at Protocol._enqueue (mysql-async.js:6179:48)
at Protocol.handshake (mysql-async.js:6086:23)
at PoolConnection.connect (mysql-async.js:711:18)
at Pool.getConnection (mysql-async.js:4753:16)
at Pool.releaseConnection (mysql-async.js:4862:10)
at Pool._removeConnection (mysql-async.js:4982:8)
at Pool._purgeConnection (mysql-async.js:4963:8)
at Handshake.onConnect (mysql-async.js:4762:14)
at Handshake.<anonymous> (mysql-async.js:1117:10)
at Handshake._callback (mysql-async.js:1083:16)
Error: (node:28263) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 19)
@LySoon I fixed all mine. Contact me on discord Jorrit#0001 it has nothing todo with MySQL async
Request Sent ❤️
Hello,
I am running my FiveM server on a Linux VPS with Ubuntu 18.04. On startup I get a whole line of errors, which has to do with mysql-async. Here are they: