目录
环境
系统平台:Linux x86-64 Red Hat Enterprise Linux 7
版本:4.1.1
症状
连接数据库时,用户密码认证失败:
[highgo@node1 data]$ psql -Uplpro -dpostgres
psql: 致命错误: 用户 "plpro" Password 认证失败
问题原因
(1)检查环境变量中是否指定了相关参数,比如:
#export PGUSER=highgo
#export PGDATABASE=highgo
#export PGHOST=localhost
#export PGPORT=5866
#export PGPASSWORD=12345
(2)pg_hba.conf文件是否设置正确
(3)是否添加密码文件,填写是否正确
详细的解决方案请登录【瀚高技术平台查看】
https://support.highgo.com/#/index/docContent/ac81c6045bd132