How to access postgres from host #298
-
How can I access Postgres dev database with something like postico? It might be related to nNxOs but I just can't figure it out 🤔 |
Beta Was this translation helpful? Give feedback.
Answered by
silviogutierrez
Sep 19, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
silviogutierrez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So it uses a socket file to avoid binding to ports. To see the right socket file, just run
export
inside the activated shell and you should see PGHOST.You can then connect to that. It should not need any authentication. The database name is
database
and you may need to specify port1
if required.Example:
And using TablePlus: