diff --git a/plugins/postgresql/conf/pg_hba.conf b/plugins/postgresql/conf/pg_hba.conf index b5aee69fd..015073936 100644 --- a/plugins/postgresql/conf/pg_hba.conf +++ b/plugins/postgresql/conf/pg_hba.conf @@ -3,8 +3,8 @@ # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust -host all all 127.0.0.1/32 trust -host all all ::1/128 trust +host all all 127.0.0.1/32 md5 +host all all ::1/128 md5 local replication all trust host replication all 127.0.0.1/32 trust host replication all ::1/128 trust \ No newline at end of file diff --git a/plugins/postgresql/versions/14.4/install.sh b/plugins/postgresql/versions/14.4/install.sh index ceae43324..7f00a7e9a 100755 --- a/plugins/postgresql/versions/14.4/install.sh +++ b/plugins/postgresql/versions/14.4/install.sh @@ -68,13 +68,13 @@ Install_App() if [ ! -d $serverPath/postgresql ];then cd ${postgreDir}/postgresql-${VERSION} && ./configure \ - --prefix=$serverPath/postgresql - # --with-openssl \ + --prefix=$serverPath/postgresql \ + --with-openssl # --with-pgport=33206 echo "cd ${postgreDir}/postgresql-${VERSION} && ./configure \ - --prefix=$serverPath/postgresql" - # --with-openssl \ + --prefix=$serverPath/postgresql \ + --with-openssl" # --with-pgport=33206 make -j${cpuCore} && make install && make clean fi