高手帮忙,我的mysql出问题了
[root@test rc.d]# /usr/bin/mysqladmin stop
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
phpmyadmin显示
错误
MySQL 返回:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
我本来是准备在rc.local加
safe_mysqld -O max_connections=1000
增加连接数
但是出现
[root@test rc.d]# safe_mysqld -O max_connections=1000
Starting mysqld daemon with databases from /var/lib/mysql
mysqld daemon ended