Rails3にしてからMySQLへの接続ができなくなっていたので調べてみた。 取りあえず、動くようになったのでメモです。 database.ymlを変更 adapterをmysqlからmysql2に変更。 development: # adapter: sqlite3 # database: db/development.sqlite3 # pool: 5 # timeout: 5000 adapter: mysql2 database: test1_development username: hedgehog password: hogehoge host: localhost encoding: utf8 Gamfileにmysql2を追加 gem 'mysql2' bundleを実行 $ bundle Fetching source index for http://rubygems