atdatabases icon indicating copy to clipboard operation
atdatabases copied to clipboard

/mysql IPC socket connection

Open elmarti opened this issue 4 years ago • 1 comments

Unfortunately I need to pivot a project to use IPC sockets instead of a URL connection string. It looks like this isn't possible with this library.

Proposal

Add an alternative connection object parameter which allows easier configuration of connection and the use of IPC sockets.

See TypeORM's connection options for an example https://github.com/typeorm/typeorm/blob/master/docs/connection-options.md

elmarti avatar Nov 11 '20 09:11 elmarti

Yes, we already support something very similar for Postgres. I'm happy to accept a pull request that allows specifying the connection configuration as an object.

ForbesLindesay avatar Nov 13 '20 16:11 ForbesLindesay