Using MYSQL in rails app




Can someone please give me clear steps on how to use MYSQL database in my rails application in C9.

I found one topic on this however steps are not very clear to me

Do I have to create a separate mysql DB and where? also it says host: IP this is IP where mysql is running? clear steps for newbie would be much appreciated.

Thank you!