[typo] Mysql::Error: Lost connection to MySQL server during query

Jonas Elfström jonelf at gmail.com
Fri Jan 4 08:15:54 EST 2008


On 1/2/08, Jonas Elfström <jonelf at gmail.com> wrote:
> 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

Even though it had nothing to do with Typo I still believe it's good
manners to post the solution.

Added:
deb http://archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse
in /etc/apt/sources.list

sudo apt-get install libmysqlclient15-dev

gem install mysql
and then it worked to compile the ruby-version 2.7.

Then I restarted mongrel and it was all peachy again.

-- 
Jonas Elfström


More information about the Typo-list mailing list