Open jo-so opened 5 years ago
Sequelize itself supports a socket given as a host parameter like:
postgres://postgres@/unstoppable_website_development?host=/tmp
But not sequelize-cli
Its weird that sequelize-cli doesn't reuse that code from sequelize itself.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think it's up to the devs to implement this request. This issue stalled, because the devs didn't react.
Tagging this as feature request
I think it's up to the devs to implement this request. This issue stalled, because the devs didn't react.
@jo-so I don't have infinite time at my hand. I will appreciate a PR with proper test
Does the feature tag keep away the stale bot?
Yes, but issues will be disabled soon and only PRs will be accepted, so it wont matter if issue is closed or open
I would like to access my database via Unix socket. This requires to use a path as hostname, but not all path characters are valid for a hostname. Rust's r2d2 database driver uses an URL-encoded form of the hostname like:
postgres://joerg@%2Frun%2Fpostgresql:5433/codimd?application_name=CodiMD
. Maybe you could support this, too. Or use a query parameter for this.