how to connect to freshly installed postgresql@15 #4777
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The default username is your own OS username (the output of As suggested in the caveats (run |
Beta Was this translation helpful? Give feedback.
-
The above work, i ran psql -U user -d postgres, user is my pc username, (run whoami to know user), then add -d postgres for the database |
Beta Was this translation helpful? Give feedback.
The default username is your own OS username (the output of
whoami
).As suggested in the caveats (run
brew info postgresql@15
to see), the default database cluster is created withinitdb --locale=C -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@15
. The username is not speficied in the command, so it defaults to your OS username.