我正在尝试创建一个数据库,每次运行createdb [databasename]并输入“不正确”的密码命令时,我都会得到以下错误:createdb: error: could not connectto database template1: FATAL: password authentication failed for user "[username]"。但是,表示身份验证失败的用
PGUSER=postgres PGPASSWORD=postgres heroku pg:pull DATABASE_URL localDB --app django-www-app345
从我的herokucreatedb: could not connect to database template1: FATAL: Peer authentication failed for user "postgres我没有template1数据库,也没有localDB,我<em
因此,我已经很好地安装了PostgreSQL,并且正在尝试在终端中运行createdb 'test'命令。我使用的是我的普通用户帐户。在尝试创建数据库时,系统要求我输入两次密码,然后我收到错误消息createdb: error: could not connect to database template1: FATAL: password这是否意味着我输入了错误的密码,或者我没