Re: Re: mysqld.sock missing
> > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> > > '/var/run/mysqld/mysqld.sock' (2)
> I had a similar problem. What does '/etc/init.d/mysql start' say? If it
> does not start, then open your /etc/mysql/my.cnf and comment out
> 'old_passwords' (mysql now fails with this option).
I had this same problem with Debian/Etch on rebooting my system today. Didn't realise I'd upgraded MySQL, but guess I must have as I do regular upgrades to keep my system up-to-date.
Google yielded this mail, which fixed the problem, but the original poster seems to have missed the fix!
To re-iterate the fix, all you have to do is edit /etc/mysql/my.cnf and comment out the line 'old_passwords = 1'.
When you restart MySQL (probably via reboot), all should be well again. This fixed the problem in my case.