Home  >  Article  >  Database  >  解决centos下MYSQL无法启动但存在锁定sock的问题

解决centos下MYSQL无法启动但存在锁定sock的问题

WBOY
WBOYOriginal
2016-06-07 15:02:221391browse

unlink /var/lock/subsys/mysql 具体根据实际目录 unlink /usr/local/mysql/var/mysql-bin.index (mysql5.1.68)以及所有日志文件 也有的配置文件是unlink /usr/local/mysql/data/mysql-bin.index 具体根据您的MYSQL实际安装目录 如果出现文件无法创建 或者找

unlink  /var/lock/subsys/mysql    具体根据实际目录

unlink /usr/local/mysql/var/mysql-bin.index  (mysql5.1.68)以及所有日志文件

也有的配置文件是 unlink /usr/local/mysql/data/mysql-bin.index 

具体根据您的MYSQL实际安装目录

如果出现文件无法创建 或者找不到的情况可能是 权限问题,记得添加mysql用户组权限即可

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn