原创:linux centos6 源码包安装mysql5.6配置完文件之后报错
[root@node2 mysql]# service mysql start
Starting MySQL.Logging to '/data/mysql/data/node2.err'.
180326 02:25:10 mysqld_safe Directory '/var/lib/mysql' for UNIX socket file don't exists.
ERROR! The server quit without updating PID file (/data/mysql/data/node2.pid).
类似的错误的解决方法:(报错哪个文件夹,就新建哪个文件夹)
新建报错的文件,因为提示该文件夹不存在,所以先
#mkdir /var/lib/mysql
#chown -R mysql:mysql /var/lib/mysql
网友评论