Earlier I posted a question about password hashes because I thought that
the last thing in my app that I touched (mysql GRANTs) but after poking
through my logs I am now not so sure it is the password.
In my log I see:
ActionView::TemplateError (Mysql::Error: Lost connection to MySQL server
during query: SELECT * FROM newsitems ORDER BY created DESC LIMIT 4)
line #84 of app/views/layouts/application.rhtml:
It now seems to me that I do log in ok and that what I thought was a
password problem was a red herring.
This seems to be a known problem on some platforms
http://wiki.rubyonrails.com/rails/pages/Mysql+Connection+Problems/ I am
using webrick on FC4. But the puzzling thing to me is that this has
running for weeks with no problems. gem install mysql fails but I
use the method provided at http://www.ocsforums.com/showthread.php?t=132
because it fails with can’t find header files for ruby.
Has anyone else had MySQL “Lost Connection” problems?