我曾问一个较早的问题,其并未得到任何回复.
基本上我invalid database url在尝试时会出错heroku db:push.
我想我可以尝试显式提供数据库URL.
我试过了:
heroku db:push postgres://postgres@localhost/myrailsdb
但这给了错误:
Failed to connect to database:
Sequel::DatabaseConnectionError -> PGError fe_sendauth: no password supplied
Run Code Online (Sandbox Code Playgroud)
提供用户名和密码的格式是什么?