【发布时间】:2018-09-25 11:26:09
【问题描述】:
我正面临heroku run rake db:create 的以下问题
在RubyonRails技术和Postgresql数据库中的应用。
This is the legacy Heroku CLI. Please install the new CLI from https://cli.heroku.com
Running rake db:create on ⬢ project-name... up, run.2367 (Free)
FATAL: permission denied for database "postgres"
DETAIL: User does not have CONNECT privilege.
Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", "pool"=>5, "database"=>"abcdabcd", "username"=>"abcdabcd", "password"=>"abcdabcd", "port"=>5432, "host"=>"ec2-107-21-233-71.compute-1.amazonaws.com"}
rake aborted!
PG::ConnectionBad: FATAL: permission denied for database "postgres"
DETAIL: User does not have CONNECT privilege.
你能告诉我我在这个应用程序中缺少什么配置吗?
提前致谢。
【问题讨论】:
标签: ruby-on-rails postgresql heroku