修改数据库密码后,使用psql -U登录报错

修改数据库密码后,使用psql -U登录报错
D:\highgo\database\4.1.1\bin>psql -U highgo
psql: 致命错误: 28P01: 用户 "highgo" Password 认证失败
从文件"C:\Users\Administrator\AppData\Roaming/postgresql/pgpass.conf"中获取口令
打开文件 C:\Users\Administrator\AppData\Roaming\postgresql\pgpass.conf
修改文件内容,将password部分改为当前数据库的密码
localhost:5866:*:highgo:password

你可能感兴趣的:(PostgreSQL,Highgo,DB)