使用fin 查询一下是否存在mysql.sock
find / -name mysql.sock
找到了的话,直接创建软连接指向到 /tmp/mysql.sock
ln -s /usr/local/mysql/mysql.sock /tmp/mysql.sock