1
在试图将我的数据库从我的development.sqlite3
文件推送到我的Heroku应用程序时,遇到以下错误消息:pg_dump:[数据库(db)]连接到数据库“开发”失败:无法连接到服务器:连接被拒绝
pg_dump: [archiver (db)] connection to database "development" failed: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
pg_restore: [archiver] input file is too short (read 0, expected 5)
psql: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new
我是Heroku新手,无法弄清楚这一点。希望这是简单的,我忽略。