So a command like this rails my_app will take SQLite3 as the default database for the Rails application.
To use mysql try the following command:
rails -d mysql my_app
extra parameter -d will define database
Get Free Sinhala IT Learning Videos Kuppiya.com