Horje
postgrex.protocol failed to connect Code Example
postgrex.protocol failed to connect
This happened to me twice, after macOS crashed.
Most recently I used this:
Fix 1
Run postgres -D /usr/local/var/postgres
Copy the number after PID if you see something like this:
FATAL: lock file "postmaster.pid" already exists
HINT: Is another postmaster (PID 379) running in data directory "/usr/local/var/postgres"?
kill -9 PID with the process # in place of PID.
The steps that worked for me previously:
Fix 2
brew update
brew upgrade
brew postgresql-upgrade-database




Whatever

Related
roger federer Code Example roger federer Code Example
sqlfiddle example tables Code Example sqlfiddle example tables Code Example
tablet media query Code Example tablet media query Code Example
beautifulsoup get text Code Example beautifulsoup get text Code Example
redis default port Code Example redis default port Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8