A server could have its socket file taken over by a second server
listening on different TCP/IP port but the same socket file. The
socket file also would be unlinked by normal shutdown of the
second server. To avoid this, the server now uses a lock file
with the same name as the socket file and a .lock suffix. (For
example, /tmp/mysql.sock has a lock file of
/tmp/mysql.sock.lock.) The lock file contains the process ID of
the server process that created the socket file. (Bug
#17286856)MySQL :: MySQL 5.7 Release Notes :: Changes in
MySQL 5.7.5 (2014-09-25, Milestone 15)
やっぱり誰しも、--socketの設定間違えてUNIXソケットつぶしたことありますよねわかりますん! orz
$ bin/mysqld --no-defaults --initialize --datadir=/tmp/mysql1[さらに読む]
2015-05-10T17:04:32.148319Z 0 [Warning] …