This forum is no longer active. Please post your questions to our new community site

how to create mysql db?

Subscribe to how to create mysql db? 2 post(s), 2 voice(s)

Avatar jayaraj 2 post(s)

hai all,

I have created a project folder successfully, Next I what to create a mysql database for my project, I cant create it using this command

rails -d mysql proj_name,

rake db:create

rake db:migreate

I need a process flow to create mysql database for my project.

Thanks in advance

With Regards,

Avatar Beltrán Rueda Administrator 3,714 post(s)


You can use phpMyAdmin to create a database. If you have installed RubyStack with phpMyAdmin you can go to on Windows or on Linux or OS X and you can create a database easily.

In addition to this, you can create a database with the mysql client, you can find more information in The RubyStack Quick Start Guide