简体   繁体   English

Heroku db连接错误:使用PostgreSQL推送

[英]Connection error with heroku db:push with postgresql

I have suddenly started seeing this strange error when trying to push my database to heroku. 当我尝试将数据库推送到heroku时,我突然开始看到这个奇怪的错误。

> heroku db:push
Auto-detected local database: postgres://infinity:infinity@localhost/infinity_development?encoding=utf8
Failed to connect to database:
Sequel::DatabaseConnectionError -> TypeError wrong argument type String (expected Array)

My app works fine - the credentials are all set locally. 我的应用程序运行良好-凭据均在本地设置。

嗯……这一切再次神奇地开始了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM