Error 2013: Lost connection to MySQL server during query when executing CHECK TABLE FOR UPGRADE
- by Dean Richardson
I just upgraded Ubuntu from 11.10 to 12.04. My rails app now returns the (passenger) error "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) (Mysql2::Error)". I get a similar error when I try to access mysql at the command line on my Ubuntu server using mysql -u root -p.
I have mysql-server 5.5 installed. I've…