createdb:错误:无法连接到数据库模板1:严重:用户“ user”的密码身份验证失败

时间:2020-09-25 07:54:44

标签: postgresql

自从我上次学习/使用PostgreSQL以来已经有一段时间了,我已经安装了最新版本的PostgreSQL13。现在,在重新启动PostgreSQL并尝试建立数据库之后,这就是我得到的。

通过PgAdmin4一切都进行得很好,只有在我通过终端运行它时才感到麻烦。我不记得用户“ Agnesia”的密码,请帮帮我。

Agnesia@Macs-MacBook-Pro ~ (master) [2]> createdb 'test'
Password:
Password:
createdb: error: could not connect to database template1: FATAL:  password authentication failed for user "Agnesia"

0 个答案:

没有答案