【发布时间】:2016-05-07 09:41:35
【问题描述】:
我正在尝试使用命令:
PGUSER=postgres PGPASSWORD=postgres heroku pg:pull DATABASE_URL localDB --app django-www-app345
从我的 heroku 应用程序中提取 postgres DB。但它给了我错误:
! createdb: could not connect to database template1: FATAL: Peer authentication failed for user "postgres"
!
! Unable to create new local database. Ensure your local Postgres is working and try again.
我没有 template1 数据库,也没有 localDB,我的 postgres 用户是 postgres,我的密码也是
【问题讨论】:
标签: django postgresql heroku