node-mysql2
node-mysql2 copied to clipboard
True negative: ssl-mode query params in connectionString considered as invalid
When I tried to create connection by raw connection string
...
mysql.createConnection(`mysql://avnadmin:${password}@mysql-davidkhala.d.aivencloud.com:22013/defaultdb?ssl-mode=REQUIRED`)
The warning prompts like
Ignoring invalid configuration option passed to Connection: ssl-mode. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection
This validation is not agreed by Aiven Cloud. The above connection string format is copied directly from Aiven Cloud's Service URI section