Numerous "Lost connection to MySQL server during query" erro

Starting last night (7/25/2006), after doing an svn up to pull down
the latest from trunk, I’m constantly getting the following error
pretty frequently. Refreshing sometimes works, sometimes it doesn’t.

Lost connection to MySQL server during query

#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:1112:in
write' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:1162:infinalizer’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:68:in
dup' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:66:indup’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:in
method_missing' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:19:inindent’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:in
method_missing' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:155:inrecognition_check’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:160:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:136:ingo’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:132:in
continue' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:80:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:99:in
move_forward' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:80:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:in
method_missing' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:19:inindent’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:in
method_missing' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:92:inif_next_matches’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:79:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:136:ingo’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:132:in
continue' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:161:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:177:in
assign_result' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:99:inmove_forward’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:177:in
assign_result' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:161:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:155:in
recognition_check' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:19:in
indent' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:155:in
recognition_check' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:160:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:136:in
go' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:132:incontinue’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:80:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:99:inmove_forward’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:80:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:19:in
indent' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:92:in
if_next_matches' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:79:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:136:in
go' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:132:incontinue’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:80:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:99:inmove_forward’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:80:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:19:in
indent' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:92:in
if_next_matches' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:79:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:136:in
go' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:379:inwrite_recognition’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:531:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:635:ineach’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:529:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:19:in
indent' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/code_generation.rb:46:inmethod_missing’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:528:in
write_recognition' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:630:indraw’
#{RAILS_ROOT}/config/routes.rb:1
/usr/local/bin/mongrel_rails:18

This error occured while loading the following files:
/home/kyle/ror/typo/config/…/config/routes.rb

Any thoughts on what might be causing this? Nothing has changed on the
server, it’s my personal dev box and it only turned on when I want to
do Rails development.

Thanks in advance for any assistance provided.

Kyle H.
www.kyleheon.com

Try

gem install mysql

Scott

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs