Problems in accessing remote MySQL DB

Hi guys,

I have some problem in accessing mysql db remotely. I have created all test,development & production database , but while running rake migrate i get an exception like :

C:\santosh-rails-projects\Contact\db>rake --trace migrate (in C:/santosh-rails-projects/Contact) ** Invoke migrate (first_time) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! syntax error on line 23, col -1: `test:

Can some help me out.

PS: I am very new to rails & ruby.!!

Thanks, Santosh.