Locate the
mysql.sock socket (
Figure A.10).
sudo find / -name 'mysql.sock'
This command will search through the entire server to find
mysql.sock. This assumes, of course, that the MySQL server is currently running.
Enter the computer's administrative password at the prompt.