Ubuntu 12.04 Mysql doesn't start on reboot; starts ok later manually

view full story

http://askubuntu.com – I've just installed MySql to support a mediawiki install on 12.04 64bit. Everything appears to be working ok, except that at boot-up, mysql server fails to start. This results in an error appearing on the webpage: Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock When I discover this, and run sudo service mysql start It all works ok after that until the next reboot. I can't figure out what is going on. There appear to be several similar issues being reported, however most of these appear to be outright failure to start - i.e. manual start or on boot-up fails (HowTos)