-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
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 existUnfortunately, 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:
sudo -u postgres psqlReferences:
- UpLeveled macOS Setup Guide: https://github.com/upleveled/system-setup/blob/main/macos.md#user-content-postgresql
- UpLeveled Linux Setup Guide: https://github.com/upleveled/system-setup/blob/main/linux.md#user-content-postgresql
Metadata
Metadata
Assignees
Labels
No labels