jeremydaly / serverless-mysql

A module for managing MySQL connections at SERVERLESS scale
MIT License
1.2k stars 83 forks source link

Update index.js #113

Closed hugossilva closed 1 year ago

hugossilva commented 3 years ago

Some new versions of mysql database may throw an error with the old syntax of the line. something like this:

Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? AND @@max_user_connections > 0) OR true' at line 3