mysql启动时无法连接

时间:2017-11-03 19:52:07

标签: mysql

Mysql无法连接。谁能给我一个如何解决它的想法 我做了以下

[root@mysrver-01 ~]# sudo service mysql restart
cat: /vol/db1/mysql/mysrver-01.med.edu.pid: Input/output error
MySQL (Percona Server) server process # is not running!    [FAILED]
rm: cannot remove `/vol/db1/mysql/mysrver-01.med.edu.pid': Read-only file system
Starting MySQL (Percona Server)    
[root@mysrver-01 ~]# mysql -u root -p
Enter password: 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 

0 个答案:

没有答案