I’ve started a new rails 3.2 project and by default it uses SQLite.
I have no data in the db yet and now I’m planning to use MySQL, so I added the gem ‘mysql2’ in Gemfile and ran ‘bundle install’.
Now,
I’m a bit unsure of what to do. I’ve read that I should just change the config lines under database.yml.
But I’m wondering why I should enter the user and password values for MySQL.
Should these values be set up manually in MySQL?
If so, how is this done? And why doesn’t SQLite ask for user and password?
1 Answer