系统是64位yum 安装mysql 在my.cnf中添加datadir = /data/web 和运行用户
user = mysql
提示如下错误
090904 13:09:28 [Warning] Can't create test file /data/web/ceshi.lower-test
090904 13:09:28 [Warning] Can't create test file /data/web/ceshi.lower-test
/usr/libexec/mysqld: Can't change dir to '/data/web/' (Errcode: 13)
090904 13:09:28 [ERROR] Aborting
系统开启了selinux 因为跟seliniux有关系所以造成mysql启动不了 禁止selinux 设置contexts
阅读(1114) | 评论(0) | 转发(0) |