I can’t start the rails server anymore because of this error:
/Library/Ruby/Gems/1.8/gems/activerecord-3.0.5/lib/active_record/connection_adapters/mysql_adapter.rb:26:in
`mysql_connection’: !!! Outdated mysql gem. Upgrade to 2.8.1 or
later. In your Gemfile: gem ‘mysql’, ‘2.8.1’. Or use gem ‘mysql2’
(RuntimeError)
I do have mysql 2.8.1 installed as specified on the Gemfile
(https://gist.github.com/1037433)
I’m using snow leopard, ruby 1.8.7, rails 3.0.5.
Pau R. wrote in post #1006550:
I can’t start the rails server anymore because of this error:
/Library/Ruby/Gems/1.8/gems/activerecord-3.0.5/lib/active_record/connection_adapters/mysql_adapter.rb:26:in
`mysql_connection’: !!! Outdated mysql gem. Upgrade to 2.8.1 or
later. In your Gemfile: gem ‘mysql’, ‘2.8.1’. Or use gem ‘mysql2’
(RuntimeError)
I do have mysql 2.8.1 installed as specified on the Gemfile
(https://gist.github.com/1037433)
I’m using snow leopard, ruby 1.8.7, rails 3.0.5.
mysql gem is old and the recommended one is mysql2
Here’s some old discussion about it:
Have you tried following the mysql2 advice?
Don’t use the old mysql.
Cheers.