我正在尝试使用 Heroku CLI 连接云中的 Postgres 数据库。
heroku pg:info
显示数据库信息,但heroku pg:psql
失败并出现以下错误:
$ heroku pg:psql
--> Connecting to postgresql-<database-id>
psql: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
怎么了?