[typo] Mysql::Error: Lost connection to MySQL server during query
Frederic de Villamil
frederic at de-villamil.com
Wed Jan 2 05:33:05 EST 2008
This happens sometimes in development mode. Are you sure you're in
production mode ?
Le 2 janv. 08 à 10:53, Jonas Elfström a écrit :
> This might have very little to do with Typo but suddenly my connection
> to mysql isn't working (it might have happened after an apt-get update
> but I'm not sure).
> When I try to access my blog it fails and in the log it says:
> Mysql::Error: Lost connection to MySQL server during query: SELECT *
> FROM articles LIMIT 1
> Do you have any idea what could be causing this?
> Rails 1.1.4
> mysql Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using
> readline 5.1
> If I log in to the database with
> mysql -u user -p
> with the same credentials as in database.yml it works like a charm. I
> also tried adding socket: in database.yml.
> Jonas Elfström
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list