Starting MySQL.Manager of pid-file quit without updating fi[失败]

来源:互联网 发布:java调用esb 服务方式 编辑:程序博客网 时间:2024/05/22 15:35

linux下使用service mysql start启动mysql,抛错:

Starting MySQL.Manager of pid-file quit without updating fi[失败]

查看日志,显示以下内容:

120508 09:58:08  mysqld started
120508  9:58:08 [Warning] Can't create test file /spif_evn/spif_db/mysql/localhost.lower-test
120508  9:58:08 [Warning] Can't create test file /spif_evn/spif_db/mysql/localhost.lower-test
/usr/sbin/mysqld: Can't change dir to '/spif_evn/spif_db/mysql/' (Errcode: 13)
120508  9:58:08 [ERROR] Aborting

试过了设置mysql数据目录权限,没有效果,

设置SELinux 成为permissive模式 临时关闭selinux的

setenforce 0


问题解决。

happy

原创粉丝点击