摘要: 在CentOS中修改MySQL默认数据库路径,网上介绍很多,只需要修改 /etc/my.cnf 和 /etc/init.d/mysqld,将新目录所有者改为mysql:mysql,很简单。但是改后重启mysqld却总是失败,/var/log/mysqld.log 提示mysqld没有权限访问目录,如下:InnoDB: The error means mysqld does not have the access rights toInnoDB: the directory. 想来想去想起了 SELINUX,呵呵,搜了一下找到了方法,其实就是一两条指令的事儿。 CentOS使用 yum ins. 阅读全文
posted @ 2012-09-18 23:55 Panblack 阅读(1396) 评论(0) 推荐(0) 编辑