/etc/mysql/my.cnf中加
!includedir /etc/mysql/conf.d/
[client]
socket=/var/lib/mysql/mysql.sock
[mysqld]
socket=/var/lib/mysql/mysql.sock
/etc/mysql/my.cnf中加
!includedir /etc/mysql/conf.d/
[client]
socket=/var/lib/mysql/mysql.sock
[mysqld]
socket=/var/lib/mysql/mysql.sock