Newbie problem - unexpected MySQL error


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 :slight_smile:

Try this: