server02:~# locate mysql.sock
server02:~#
server02:~# ps -e | grep mysqld
17013 ? 00:00:00 mysqld_safe
17036 ? 00:00:00 mysqld
17037 ? 00:00:00 mysqld
17038 ? 00:00:00 mysqld
17039 ? 00:00:00 mysqld
17040 ? 00:00:00 mysqld
17041 ? 00:00:00 mysqld
17042 ? 00:00:00 mysqld
17043 ? 00:00:00 mysqld
17044 ? 00:00:00 mysqld
17045 ? 00:00:00 mysqld
5720 ? 00:00:00 mysqld
server01:~# locate mysql.sock
server01:~#
server01:~# ps -e | grep mysqld
6935 ? 00:00:00 mysqld_safe
6958 ? 00:00:00 mysqld
6959 ? 00:00:00 mysqld
6960 ? 00:00:00 mysqld
6961 ? 00:00:00 mysqld
6962 ? 00:00:00 mysqld
6963 ? 00:00:00 mysqld
6964 ? 00:00:00 mysqld
6965 ? 00:00:00 mysqld
6966 ? 00:00:00 mysqld
6967 ? 00:00:00 mysqld
7224 ? 00:00:00 mysqld
7386 ? 00:00:00 mysqld
7464 ? 00:00:00 mysqld
8123 ? 00:00:00 mysqld
socket=/usr/lib/mysql/mysql.sock
socket=/tmp/mysql.sock