-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSQL Unix Domain Sockets with DATABASE_URL #1202
Comments
EvanCarroll
changed the title
To use the macros DATBASE_URL must be set, how do we set when using Unix Domain sockets.
PostgreSQL Unix Domain Sockets with DATABASE_URL
Apr 30, 2021
I found the solution,
|
There is no such thing as a port for a unix socket afaik, it should work the same without that. |
For the record, Postgres does use the port for namespacing the socket file. This is likely used to allow multiple server instances to use a separate socket each. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can connect to a database just fine using this,
However, I can't figure out how to get that into
DATABASE_URL
, without which the macros don't work.The docs say,
That doesn't seem to be true, if empty like
I get,
If I try to set it to a directory,
I get
The text was updated successfully, but these errors were encountered: