jeremydaly / serverless-mysql

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

Support for connection string #115

Closed tonb closed 1 year ago

tonb commented 3 years ago

It would be great if the library would support connection strings, e.g.:

import mysql from 'serverless-mysql';
const db = mysql('mysql://user:pass@host:port/database');

Or am I missing something, and is this already somehow possible?

rawnly commented 2 years ago

any news on this?

naorpeled commented 1 year ago

Hey @tonb and @Rawnly, this was added in v1.5.5 🙏