Forum: Ruby on Rails Windows "Lost connection to MySQL server during query"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Michael C. (Guest)
on 2005-12-28 20:17
With previous versions of active record (prior to version 1.13.2), one
could simply comment out the "require 'active_record/vendor/mysql411'"
line in mysql_adapter.rb to fix this problem when you weren't (and/or
couldn't) use the native mysql bindings.

However, this line no longer exists, and I'm stuck on getting any sort
of applicatino using plain-jane activerecord to do anything.

Has there been another/different workaround for this after Rails 1.0?

Stack trace is:
2005-12-28 12:55:11 FATAL -- Got error Mysql::Error: Lost connection to
MySQL server during query: SHOW FIELDS FROM <tablename here>:
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
`log'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in
`execute'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:278:in
`columns'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:734:in
`columns'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:746:in
`column_names'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:909:in
`generate_schema_abbreviations'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:848:in
`find_with_associations'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:395:in
`find'
Mina (Guest)
on 2006-01-05 20:57
(Received via mailing list)
This topic is locked and can not be replied to.