Access denied for connecting to a remote webhost database

Hello, I need someone’s kind help here. I have been trying to figure
this out for hours.
I am now using SSH building an application on a webhost. After I “rake
db:migrate”, it says access denied …
What I have done for “database.yml” is as follows,
adapter: mysql
database: db_name
username: name
password: psw
host: localhost

Am I supposed to put “localhost” for the host name? I phoned the
webhost’s support, they told me that should be localhost. Really getting
confused and frustrated while trying to build this on a webhost for the
first time.
Could anyone please provide some solution to my problem?
Great thx.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs