brew services restart postgresql@14
Stopping `postgresql@14`... (might take a while) ==> Successfully stopped `postgresql@14` (label: homebrew.mxcl.postgresql@14) ==> Successfully started `postgresql@14` (label: homebrew.mxcl.postgresql@14)
psql psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "your-user" does not exist
See also[edit]
brew services [ list | restart | info | start | stop ], homebrew.mxcl
- PostgreSQL:
psql
,.psqlrc, .pgpass
,$HOME/.pg service.conf
,-U, -W, -d
, meta-commands:\du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
,show users
,show
,su - postgres
,psql -c, \?, \connect, \conninfo
,--version, --help
, PL/pgSQL
Advertising: