For example: let connection = await mysql.createConnection('mysql://user:pass@host/db?timezone=-0900')
error:
TypeError: Cannot create property 'reconnect' on string 'mysql://user:pass@host/db?timezone=-0900'
at new connection (/var/task/node_modules/promise-mysql/lib/connection.js:34:30)
at Object.exports.createConnection (/var/task/node_modules/promise-mysql/index.js:6:12)
createConnection() does not accept url string.
For example:
let connection = await mysql.createConnection('mysql://user:pass@host/db?timezone=-0900')
error:
Do you have any plans to support url string?