且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PostgreSQL:致命:用户“ douglas”的密码验证失败。

更新时间:2021-11-13 08:31:06

您正在运行的SQL与您尝试使用的用户不匹配。

The SQL you are running does not match the user you are attempting to use.

您如果不存在,将需要创建用户

You will need to create the user if it does not exist:

CREATE USER douglas WITH PASSWORD 'vamointer';

或者,如果确实存在,则更改该用户的密码

or if it does exist, change that user's password instead.

ALTER USER douglas WITH PASSWORD 'vamointer';

完成后,您应该会获得更多的运气。您可能还需要将权限分配给该用户

Once you have done that you should have more luck. You may need to assign permissions to that user as well.