mySQL + ROR connection - please help

Hi guys,

I have created a ROR web application and i want to it connect to a remote mySql database (in another machine).

I was able to connect to the mySQL database through mySqlCilent GUI. But i couldnt connect through my ruby app.

following are the details.

my database.yaml

# MySQL (default setup). Versions 4.1 and 5.0 are recommended.