You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some connection commands (eg. the Opening a connection locally command) do not work properly on macOS - the currently logged-in system user is used to log in (at least with Homebrew):
$ psql -U postgres
psql: error: could not connect to server: FATAL: role "postgres" does not exist
Unfortunately, the command is different on the default installation of PostgreSQL on macOS:
$ psql postgres
psql (12.4)
Type "help"for help.
postgres=#
Linux has a third way (!!) of logging in, the last time I checked:
Hi there, thanks for this cool resource!
Some connection commands (eg. the Opening a connection locally command) do not work properly on macOS - the currently logged-in system user is used to log in (at least with Homebrew):
$ psql -U postgres psql: error: could not connect to server: FATAL: role "postgres" does not exist
Unfortunately, the command is different on the default installation of PostgreSQL on macOS:
Linux has a third way (!!) of logging in, the last time I checked:
References:
The text was updated successfully, but these errors were encountered: