麒麟V10单机部署
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:GBase8cV6_S1.2.0B86_centos7.8_x86_64.tar.gz
【操作系统】:麒麟V10
【CPU】:
【问题描述】*:
我修改了
pg_hba.conf文件,加了这句话host all all 192.168.1.0/24 MD5
postgresql.conf文件写加了listen_addresses = '*',然后重启数据库服务.
我执行gsql -d postgres -p 5432 就可以连上如下:
[gbase@kylin06 script]$ gsql -d postgres -p 5432
gsql ((multiple_nodes GBase8cV6 1.2.0B86 build 989ecc62) compiled at 2026-05-19 15:26:18 commit 0 last mr 3256 )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.
postgres=#
我执行gsql -d postgres -h 192.168.1.115 -p 5432 -U gbase -W GBase123就不行如下:
[gbase@kylin06 script]$ gsql -d postgres -h 192.168.1.115 -p 5432 -U gbase -W GBase123
gsql: FATAL: Forbid remote connection with trust method!
FATAL: Forbid remote connection with trust method!
评论
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526