[2019-05-12T23:01:51.895] [ERROR] default - UPDATE users SET ip = '178.68.102.28', logdate = '5/12/2019, 11:01:00 PM', position = '{"x":382.7,"y":6556.7,"z":27.4,"rot":333.7,"dim":0}', health = '100', loyality = '0' WHERE id = '1'
(node:2308) UnhandledPromiseRejectionWarning: Error: ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction
at Query.Sequence._packetToError (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\sequences\Sequence.js:47:14)
at Query.ErrorPacket (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\sequences\Query.js:77:18)
at Protocol._parsePacket (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:278:23)
at Parser.write (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\Parser.js:76:12)
at Protocol.write (C:\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:38:16)
at Socket.<anonymous> (C:\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:91:28)
at Socket.<anonymous> (C:\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:502:10)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
--------------------
at Pool.query (C:\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:199:23)
at Promise (C:\RAGEMP\server-files\packages\RP\index.js:1:1304)
at new Promise (<anonymous>)
at Object.dbquery (C:\RAGEMP\server-files\packages\RP\index.js:1:1283)
at Object.query (C:\RAGEMP\server-files\packages\RP\index.js:1:1425)
at Object.e.saveBasicData (C:\RAGEMP\server-files\packages\RP\index.js:1:52111)
at Object.saveAccount (C:\RAGEMP\server-files\packages\RP\index.js:1:50908)
at Object.self (C:\RAGEMP\server-files\packages\RP\index.js:1:52996)
at Object.fire (<anonymous>:721:8)
at eval (eval at add (unknown source), <anonymous>:3:11)
(node:2308) 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: 9)
Error server