[Release] MySQL Async Library - 3.0.8

dev
mysql
basemods

#447

Update 3.0.3

  • Fixed that dates were not returned as in 2.x. Timestamps are now returned in seconds. DateTime is tableified.
{ 
  ["dttest"] = { 
    ["Millisecond"] = 0,
    ["Hour"] = 19,
    ["Day"] = 9,
    ["Year"] = 2018,
    ["Minute"] = 25,
    ["Second"] = 34,
    ["Month"] = 9
  } ,
  ["tstest"] = 1539105934
}
  • For this fix to work you must not have dateStrings=true on your connection string.
  • I probably introduced some bugs with this.
  • Some rough progress was made with getting 3.x to run stable on linux.

#448

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.


#449

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


#450

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


#451

Hello,

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

  • imaged removed *

#452

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.


#453

The format for record_date is : datetime


#454

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


#455

Thanks you for your fast answer as always.


#456

Updated to 3.0.4

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

#457

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


#458

Which database version do you use?


#459

And how will I know ?


#460

select version();


#461

where can I find it ?


#462

you start your mysql console.


#463

I did not understand if it was related to this problem


#464

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


#465

Maybe the new version


#466

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