diff --git a/plugins/postgresql/conf/pg_hba.conf b/plugins/postgresql/conf/pg_hba.conf index 015073936..b411ed22f 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 md5 +host all all 0.0.0.0/0 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 +host replication all 0.0.0.0/0 md5 +host replication all ::1/128 md5 \ No newline at end of file diff --git a/plugins/postgresql/js/postgresql.js b/plugins/postgresql/js/postgresql.js index 75f870741..ced6d8174 100755 --- a/plugins/postgresql/js/postgresql.js +++ b/plugins/postgresql/js/postgresql.js @@ -235,7 +235,7 @@ function setRootPwd(type, pwd){ btn:["取消","提交"], content: "
\
\ - root密码\ + postgres密码\
\
\
", @@ -696,7 +696,6 @@ function dbList(page, search){ var con = '
\ \ \ - \ \ \ \ @@ -1015,8 +1014,7 @@ function getMasterRepSlaveList(){ \ 修改 | \ 删除 | \ - 权限 | \ - 从库同步命令\ + 权限\ \ '; }