且构网

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

PG :: ConnectionBad:严重:用户"alphauser"的密码身份验证失败

更新时间:2022-01-29 08:29:32

您必须像这样手动创建相应的用户和数据库:

You have to create corresponding user and database manually like this:

在外壳中: psql

然后:

  create user alphauser with password 'alphapassword';
  create database alpha_database owner alphauser;
  alter user alphauser superuser createrole createdb replication;
  \q

别忘了分号.