[ale] selinux and moving mysql datadir

Atlanta Geek atlantageek at gmail.com
Fri Feb 13 17:23:44 EST 2009


I've stopped mysql and moved an existing mysql database to a bigger partition.
When I try to start mysql I get the error "Can't change dir to ..."
Now if I put selinux in permissive mode it works fine.

I've even tried using chcon on the new directory but obviously I have
no idea what I am doing.
Any suggestions what I may be doing wrong or you to get around this.
Maybe some info on chcon.


-- 
http://www.atlantageek.com


More information about the Ale mailing list