I have upgraded MySQL from version 5.0 to version 5.1 and now cannot access mysql from the commandline as mysql -uroot. The error message is as follows: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock'
on linux openSuSE 11.1.
Does this relate to my hosts file being incorrect? or is the suse MySQL packages broken?