I\'m having trouble finding a solution to this problem. I\'m getting the error:
Please install the mysql adapter: \'gem install activerecord-mysql-adapter\'
I never would have believed it but deleting my database.yml file and recreating it actually solved the problem for me too. Thanks Tyler. I spent hours installing and uninstalling different versions of the gems mysql, mysql2, activerecord-mysql-adapter, etc... In the end, my gemfile has
gem 'mysql2', "~>0.3.11"
and my database.yml file has
adapter: mysql2
I am on OSX 10.8, rails 3.2.8, and ruby 1.9.3.
By the way, I experienced the same issues with the mysql2 adapter on my Windows 7 machine. Uninstalling and even deleting the directory for the activerecord-mysql-adapter gem seemed to be critical as well.