Skip to content

Instantly share code, notes, and snippets.

@lauborges
Created April 11, 2020 18:16
Show Gist options
  • Save lauborges/2fb902ba44bfea784d66cb8080782e7f to your computer and use it in GitHub Desktop.
Save lauborges/2fb902ba44bfea784d66cb8080782e7f to your computer and use it in GitHub Desktop.
psql: could not connect to server: No such file or directory
psql: could not connect to server: No such file or directory
# run
sudo chown -R postgres:postgres /var/lib/postgresql/10/
sudo chmod -R u=rwX,go= /var/lib/postgresql/10/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment