Trying to connect to a local mysql server fails as a non-root user. The /var/lib/mysql directory is mode 0700 and the clients are trying to open the socket /var/lib/mysql/mysql.sock Fix: make /var/lib/mysql mode 0711
*** This bug has been marked as a duplicate of 17432 ***