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?
mysql Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline
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.