Difference between revisions of "Brew services start postgresql@16"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | [[brew services start]] postgresql@16 && [[brew services info postgresql@16]] | ||
+ | |||
+ | |||
[[brew services start]] postgresql@16 | [[brew services start]] postgresql@16 | ||
==> Successfully started `postgresql@16` (label: homebrew.mxcl.postgresql@16) | ==> Successfully started `postgresql@16` (label: homebrew.mxcl.postgresql@16) | ||
+ | |||
+ | == Errors == | ||
+ | psql | ||
+ | psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "user" does not exist | ||
+ | |||
+ | [[brew services start]] postgresql@16 | ||
+ | Bootstrap failed: 5: Input/output error | ||
+ | Try re-running the command as root for richer errors. | ||
+ | Error: Failure while executing; `/bin/[[launchctl]] bootstrap gui/501 | ||
+ | /Users/user/Library/LaunchAgents/[email protected]` [[exited with 5]]. | ||
+ | |||
+ | == Related == | ||
+ | [[psql]] | ||
+ | [[brew install postgresql@16]] | ||
+ | [[brew services info postgresql@16]] | ||
+ | [[brew services restart postgresql@16]] | ||
== See also == | == See also == | ||
* {{initdb}} | * {{initdb}} | ||
+ | * {{psql}} | ||
* {{PostgreSQL}} | * {{PostgreSQL}} | ||
[[Category:PostgreSQL]] | [[Category:PostgreSQL]] |
Latest revision as of 08:39, 9 January 2024
brew services start postgresql@16 && brew services info postgresql@16
brew services start postgresql@16 ==> Successfully started `postgresql@16` (label: homebrew.mxcl.postgresql@16)
Errors[edit]
psql psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "user" does not exist
brew services start postgresql@16 Bootstrap failed: 5: Input/output error Try re-running the command as root for richer errors. Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/user/Library/LaunchAgents/[email protected]` exited with 5.
Related[edit]
psql brew install postgresql@16 brew services info postgresql@16 brew services restart postgresql@16
See also[edit]
initdb, createdb
- 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 - PostgreSQL:
pg_dump, pg_restore
,pgAdmin, pg_config, psql, pg_ctl, pg_isready, initdb
, Role, Schema, DBeaver, Navicat, DataGrip, OmniDB,Adminer
, docker-compose.xml PostgreSQL, PostgreSQL version, PostgreSQL logs,postgresql.conf
,pg_hba.conf, $HOME/.pg_service.conf
, Create database (PostgreSQL), Create user,createdb
,GRANT
,pg_stat
, PostgreSQL VACUUM, EXPLAIN,pg stat activity
, Autovacuum, ALTER DATABASE, PostgreSQL statistics collector, Shared buffers, EXPLAIN (PostgreSQL),EXPLAIN ANALYZE
, Bitmap scan,EXPLAIN VERBOSE
,EXPLAIN VERBOSE (PostgresSQL)
,WAL
,ALTER USER
,CREATE ROLE, CREATE USER
,\du
,show users
,\l
, The Statistics Collector, pganalyze,cron.schedule
, Master,pg_tables
, PostgreSQL replication,CREATE, SET
, TOAST, PgBouncer, Restore DB, Index, meta-commands, Table, foreign table, Schema, Sequence, Views, materialized view, Table Partitioning, monitoring, PostgreSQL System Administration Functions, PostgreSQL extension, privileges, logging, PGTune, PostgreSQL parameter tunning, PostgreSQL modules, pgbench, PostgreSQL users, catalogs
Advertising: