Both the [client] and [server] sections of your mysql config file should have socket = /var/run/mysqld/mysqld.sock or something similar, as long as they're both the ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results