Difference between revisions of "Brew services start postgresql@16"

From wikieduonline
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]

Advertising: