我正在将我正在处理的现有rails项目导入到我的新arch linux系统中,我已经正确安装了所有的gem和postgresql,但在运行时遇到了一些问题:我得到以下错误HINT: Use the same encoding as in the template database, or use template0 as template.
:
我试图使用以下命令:
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 "postgresEnsure your