You are running locally, meaning that your client runs on the same machine as your server.
Make sure that your Unix user can actually reach/read /var/run/mysqld/mysqld.sock
:
ls -als /var
ls -als /var/run
ls -als /var/run/mysqld
ls -als /var/run/mysqld/mysqld.sock
If not, check with your system administrator or database administrator to provide adequate read/execute access to those directories, or move the socket file elsewhere.