Error Message: MyMysql::Error: Lost connection to MySQL server during
query:
SHOW FIELDS FROM products
Running Fedora 5, using available Red Hat modules and latest version of
Rails.
This problem just appeared. I had been enjoying going through the
tutorial “Depot”
when it started displaying this problem. With phpMyAdmin I am able to
access the
depot_development data base containing entries that I had used the depot
application to display, enter, and edit with no problems earlier. The
only
application that still works is the non data base application “Hello
from Rail”
The dump follows.
Hope someone can help.
ActiveRecord::StatementInvalid in AdminController#index
Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS
FROM products
|RAILS_ROOT: script/…/config/…|
Application Trace http://192.168.1.102:3000/admin# | Framework Trace
http://192.168.1.102:3000/admin# | Full Trace
http://192.168.1.102:3000/admin#
|/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in log' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:185:in
execute’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:293:in
columns' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:696:in
columns’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/calculations.rb:213:in
column_for' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/calculations.rb:135:in
calculate’
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/calculations.rb:64:in
count' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/pagination.rb:172:in
count_collection_for_pagination’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/pagination.rb:196:in
paginator_and_collection_for' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/pagination.rb:129:in
paginate’
#{RAILS_ROOT}/app/controllers/admin_controller.rb:8:in list' #{RAILS_ROOT}/app/controllers/admin_controller.rb:3:in
index’|