sql - createuser:错误:无法连接到数据库 postgres:致命:用户密码验证失败
问题描述
我正在尝试通过此文档设置 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.
有人可以给我建议吗?非常感谢。
解决方案
推荐阅读
- c# - 没有列表权限 Azure Key Vault 'Forbidden' 错误
- java - Azure 中 Glassfish 3.1.2.2 上的远程 EJB
- swift - 无法赋值:“k”是“let”常量
- c# - 处理 Action 中的无效请求
- r - 在多个列上使用 purrr:map(超过 2 个)
- html - 为什么 textarea 控件在换行时会在控件的值中插入换行符?
- python - 从列表中打印相同值的总和
- php - Does "use" require a \backslash prefix when importing namespace?
- javascript - 如何在没有id的情况下模拟单击按钮类“输入按钮蓝色”
- java - 侦听器和线程