Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
删除配置文件后重启
service mysql restart
root 31619 1 0 14:06 ? 00:00:00 /bin/sh /home/mysql/bin/mysqld_safe --datadir=/home/mysql/data --pid-file=/home/mysql/data/localhost.localdomain.pid
mysql 31709 31619 1 14:06 ? 00:00:00 /home/mysql/bin/mysqld --basedir=/home/mysql --datadir=/home/mysql/data --plugin-dir=/home/mysql/lib/plugin --user=mysql --log-error=/home/mysql/data/localhost.localdomain.err --pid-file=/home/mysql/data/localhost.localdomain.pid
root 32089 25072 0 14:07 pts/5 00:00:00 grep --color=auto mysql