Forum: Ruby on Rails Newbie problem - unexpected MySQL error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mumin (Guest)
on 2005-12-16 17:11

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 ( = 8)  LIMIT 1

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

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

Thanks :)
Curt H. (Guest)
on 2005-12-20 14:18
(Received via mailing list)
This topic is locked and can not be replied to.