createuser:错误:无法连接到数据库postgres:严重:用户的密码身份验证失败

时间:2019-12-27 06:34:16

标签: sql postgresql saleor

我正在尝试通过以下文档设置Postgres:https://docs.saleor.io/docs/getting-started/installation-macos/

我通过自制软件安装了pgadmin4。

但是,我无法执行此命令

$ createuser --superuser --pwprompt saleor

返回说

createuser: error: could not connect to database postgres: FATAL:  password authentication failed for user "zijie"

有趣的是,我能够登录psql

Password for user postgres: 
psql (12.1)
Type "help" for help.

有人可以建议我吗?非常感谢。

0 个答案:

没有答案