I tried to find some help in the Passenger group without luck. I would
not like to use mysql2 gem (it gives an error too) because in
production I have to use mysql gem anyway. I moved to Passenger 3 and
I am not able to run a Rails 2 and a 3 apps. They both uses Passenger
3 (latest) and ree 2011.03.

The Rails 2 app gives uninitialized constant MysqlCompat::MysqlRes

The Rails 3:

NoMethodError

undefined method `init' for Mysql:Class

Rails.root: /opt/local/apache2/rails-data/apps
Application Trace | Framework Trace | Full Trace

activerecord (3.0.5) lib/active_record/connection_adapters/
mysql_adapter.rb:30:in `mysql_connection'
activerecord (3.0.5) lib/active_record/connection_adapters/abstract/
connection_pool.rb:229:in `send'
activerecord (3.0.5) lib/active_record/connection_adapters/abstract/
connection_pool.rb:229:in `new_connection'

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to