I noticed that mysql has the pid 1138
# netstat -lntp | grep :3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1138/mysqld
But the file /var/lib/mysql/server102.mhyhost.pid says the pid is 1197
root@server102 [/var/lib/mysql]# cat /var/lib/mysql/server102.mhyhost.pid
1197
Why is there this discrepency?
Also I noticed that mysql.sock has permissions...
srwxrwxrwx
I know this is not
chmod 7777 mysql.sock
chmod +t mysql.sock
or
chmod +s mysql.sock
How do you get those permissions and what does it mean?
# netstat -lntp | grep :3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1138/mysqld
But the file /var/lib/mysql/server102.mhyhost.pid says the pid is 1197
root@server102 [/var/lib/mysql]# cat /var/lib/mysql/server102.mhyhost.pid
1197
Why is there this discrepency?
Also I noticed that mysql.sock has permissions...
srwxrwxrwx
I know this is not
chmod 7777 mysql.sock
chmod +t mysql.sock
or
chmod +s mysql.sock
How do you get those permissions and what does it mean?