[Release] MySQL Async Library - 3.3.2

Hi have a issue with the mysql async

Current version: 5.0.3
Updater version: 5.0.3

Everything is fine!

Started map fivem-map-skater
Started resource fivem-map-skater
Error: (node:23272) UnhandledPromiseRejectionWarning: TypeError: Cannot read property β€˜3’ of null
at parseConnectingString (mysql-async.js:5124:30)
at global.on (mysql-async.js:5140:18)
at citizen:/scripting/v8/main.js:193:28
Error: (node:23272) 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: 1)
Error: (node:23272) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Don’t pass a malformed connection string basically :confused:

Add a ? to the end of the connection string, or use an 2.x connection string

Hello,

With the new update I get this error while trying to read the date

  • imaged removed *

What format is record_date? I was told only to convert timestamp to int.

But it looks like some more should be in integer format.

The format for record_date is : datetime

I’ll fix it later (within 14h).

Thanks you for your fast answer as always.

Updated to 3.0.4

  • Fixes the issue above (datetime, datetime2, timestamp2 is now cast to seconds)

I do not know how to solve problems but there is a problem with me
async

Which database version do you use?

And how will I know ?

select version();

where can I find it ?

you start your mysql console.

I did not understand if it was related to this problem

https://dev.mysql.com/doc/refman/8.0/en/mysql.html

Maybe the new version

Thank you for the new version.
The date format with datetime work :smiley:
but I still get a little error :

this happens in the packet parser. Which db version were you using?

and it would be nice to know on which query.