Showing posts with label adminer. Show all posts
Showing posts with label adminer. Show all posts

Wednesday, September 14, 2016

When you cant log into Postgresql from Web Interface Adminer etc

When you cant log into Postgresql from Web Interface Adminer etc


I ran into this problem earlier this week and left it until today, when I needed it work at all cost. Turns out it was a simple issue with the configuration file. Heres the process.

First of all, open the file /etc/postgresql/9.1/main/pg_hba.conf
Find the line : "local" is for Unix domain socket connections only
Below that line there is a line like this: local all all md5
Just change the last value to: peer
So the line now looks like: local all all peer
Now save the file (you need to be root)
Then restart the Postgresql process using the command: sudo service postgresql restart
Done.

Go to link download

Read more »