I want to create my Rails application with MySQL, because I like it so much. How can I do that in the latest version of Rails instead of the default SQLite?
rails new -d mysql
OR
rails new projectname
Changes in config/database.yml
development: adapter: mysql2 database: db_name_name username: root password: host: localhost socket: /tmp/mysql.sock