This commit is contained in:
Laurent Destailleur 2023-06-22 14:03:21 +02:00
parent 65a43428b9
commit e4c371ebf0

View File

@ -129,6 +129,16 @@ jobs:
ps fauxww | grep postgres
ls /etc/postgresql/14/main/
sudo cat /etc/postgresql/14/main/pg_hba.conf
sudo echo "local all postgres trust" > /etc/postgresql/14/main/pg_hba.conf
sudo echo "host all all 127.0.0.1/32 trust" >> /etc/postgresql/14/main/pg_hba.conf
sudo echo "host all all 0.0.0.0/0 trust" >> /etc/postgresql/14/main/pg_hba.conf
sudo echo "host all all ::1/128 trust" >> /etc/postgresql/14/main/pg_hba.conf
sudo cat /etc/postgresql/14/main/pg_hba.conf
sudo /etc/init.d/postgresql restart
#$(PGPASSWORD="postgres"; psql -h 127.0.0.1 -p 5432 -U postgres -l -A)
psql -h 127.0.0.1 -p 5432 -U postgres -l -A