NOTE: I have a MacOS Monterey M1 chip.
After I put in the command line - psql postgres - I get the response state below.
psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: Connection refused
Is the server running locally and accepting connections on that socket?
I have done the following already:
Restarting PostgreSQL using homebrew brew services restart postgresql
Re-installing PostgreSQL using Homebrew
brew uninstall postgresql
- Updating PostgreSQL using Homebrew
brew install postgresql@14
brew services start postgresql@14
brew link postgresql@14 --force