我问了之前的question个问题,但没有得到任何答复.
基本上,当我try 做heroku db:push
时,我会得到一个错误invalid database url
.
我想我可以try 显式地提供数据库url.
我试过:
heroku db:push postgres://postgres@localhost/myrailsdb
但这带来了错误:
Failed to connect to database:
Sequel::DatabaseConnectionError -> PGError fe_sendauth: no password supplied
提供用户名和密码的格式是什么?