Originally Posted by roe74979
Version: '5.5.29-0ubuntu0.12.10.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)
There's the problem right there.
Your mysql client is looking for /tmp/mysql.sock while the actual file exist at
You need to modify your my.cnf (backup the file first) and change the [client] section to
socket = /var/lib/mysql/mysql.sock
Save, restart mysql server and then try to connect again.