$rails new twitter -d mysql
then
the
database.yml
looks like
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: twitter_development
pool: 5
username: root
password: root
host: localhost
So, i am sonfused why adapter is mysql2? not mysql?
is this gonna be a problem? I need to change it back to mysql or leave it here?
Thanks.
mysql2 is the modern successor of the mysql gem. Don’t worry, this will work fine for all current MySQL versions.
More here: Ruby, Rails: mysql2 gem, does somebody use this gem? Is it stable?