”工欲善其事,必先利其器。“—孔子《论语.录灵公》
首页 > 编程 > 如何在mySQL 5.7.17中解析\“ mySQL套接字失踪\”错误?

如何在mySQL 5.7.17中解析\“ mySQL套接字失踪\”错误?

发布于2025-03-25
浏览:313

How to Resolve the \错误:mysql socket directory缺少

原因:

不存在指定的指定目录,以防止服务器启动,防止服务器启动。 has been modified in the MySQL configuration file (\"my.cfg\").

If not, manually create the missing directory:

mkdir -p /var/run/mysqld

Directory '/var/run/mysqld' for UNIX socket file don't exists.
chown mysql:mysql/var/run/mysqld

重新启动mysql service。

最新教程 更多>

免责声明: 提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发到邮箱:[email protected] 我们会第一时间内为您处理。

Copyright© 2022 湘ICP备2022001581号-3