你好,当我尝试启动我的
mysqld时,我收到此错误:
原文链接:https://www.f2er.com/centos/373274.html[root@localhost /]# service MysqLd restart Stopping MysqLd: [ OK ] MysqL Daemon Failed to start. Starting MysqLd: [Failed]
主要原因是my.cnf文件找不到我的MysqL.sock文件.
[root@localhost /]# MysqLadmin -u root -p status MysqLadmin: connect to server at 'localhost' Failed error: 'Can't connect to local MysqL server through socket '/var/lib/MysqL/MysqL.sock' (2)' Check that MysqLd is running and that the socket: '/var/lib/MysqL/MysqL.sock' exists!
当我尝试搜索时:
sudo find / -type s | grep MysqLd.sock
我去拿
find: ‘/proc/3253/task/3253/fd/5’: Bestand of map bestaat niet find: ‘/proc/3253/task/3253/fdinfo/5’: Bestand of map bestaat niet find: ‘/proc/3253/fd/5’: Bestand of map bestaat niet find: ‘/proc/3253/fdinfo/5’: Bestand of map bestaat niet "Bestand of map bestaat niet" == "File or directory don't exists"
我是新手,所以有人可以帮我吗?