Last active
August 9, 2018 10:16
-
-
Save jansenicus/88bb0fe1266ec9e968b3514f39a3ff35 to your computer and use it in GitHub Desktop.
PostgreSQL 10 installation on linux mint 18.3 based on ubuntu 16.04 along with common troubleshooting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# *POSRTGRESQL INSTALLATION* | |
sudo apt-get install postgresql-10 postgresql-client-10 postgresql-server-dev-10 postgresql-doc-10 postgresql-contrib |
How to Avoid the Error
Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Clean removal of postgres
$ sudo apt-get remove --purge postgres*
delete all configuration files
$ sudo rm -rf /etc/postgresql/
reinstall postgresql
$sudo apt-get install postgresql-10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Common Misconception of User Name:
postgres
postgres
as a unix username has a password<p455w0rd>
;postgres
as a postgresql username has a password<pass123>
;postgres
;