Forum: Ruby on Rails Newbie problem - unexpected MySQL error

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.
F7d1a97314bb504b92cfc5a0ebc6d92e?d=identicon&s=25 Mumin (Guest)
on 2005-12-16 16:11
Hi,

I get this, when I try to load a view entry page:
Mysql::Error: Lost connection to MySQL server during query: SELECT *
FROM locations WHERE (locations.id = 8)  LIMIT 1

When I run the query in an sql client it works perfectly (returning a
row).

Now, I know it does connect to the database, because it prints another
error when I set the database port to a wrong value. The error occurs
inside the log function of the abstract controller.

Any idea what might be causing it? Or even better, how I should debug it
myself?

Thanks :)
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2005-12-20 13:18
(Received via mailing list)
This topic is locked and can not be replied to.