Page 1 of 1
Connection PgAdmin 3 บน ubuntu เเล้วขึ้น Error
Posted: 13/07/2017 10:06 pm
by thatsawan
Code: Select all
An error has occurred:
22:02:20: Error: Error connecting to the server: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5433"?
Re: Connection PgAdmin 3 บน ubuntu เเล้วขึ้น Error
Posted: 14/07/2017 12:37 am
by thatsawan
ลองแก้ไขโดย
Edit: postgresql.conf
sudo nano /etc/postgresql/9.3/main/postgresql.conf
Enable or add:
listen_addresses = '*'
Restart the database engine:
sudo service postgresql restart
Besides, you can check the file: pg_hba.conf
sudo nano /etc/postgresql/9.3/main/pg_hba.conf
And add your network or host address:
host all all 192.168.1.0/24 md5
ก็ยังไม่ได้
https://askubuntu.com/questions/50621/c ... -port-5432