The configuration community:
socket
Information
On Unix platforms this variable is the name of the socket file that is used for local client connections. The default is /tmp/mysql.sock. (For some distribution formats the directory might be different such as /var/lib/mysql for RPMs.)
Syntax
Example



