diff --git a/.github/workflows/github_ci_php71_pgsql.yml b/.github/workflows/github_ci_php71_pgsql.yml index e60e2346a92..140fa0488f1 100644 --- a/.github/workflows/github_ci_php71_pgsql.yml +++ b/.github/workflows/github_ci_php71_pgsql.yml @@ -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