[Bug 227615] [NEW] mysql failing to start due to permission errors
Nick Barcet
nick.barcet at canonical.com
Wed May 7 09:59:33 BST 2008
vik wrote:
> This seems to be a problem if the directory for mysql data is anywhere
> outside /var/lib/mysql : http://ubuntuforums.org/showthread.php?t=782224
Thanks a lot ofr taking the time to report this problem and help us make
Ubuntu better.
There is now an apparmor profile enabled by default for mysql that will
prevent mysql to access non standard area of the file system. Puting
the mysql profile in complain mode using "sudo aa-complain" as described
in [1] should show you this in the logs.
To fix this, you will need to add /mnt/fastdata/var/lib/mysql to the
list of authorized paths in the apparmor mysql profile you will find in
/etc/apparmor.d/.
Marking this bug as invalid as it reflects an intended behaviour.
[1] https://help.ubuntu.com/8.04/serverguide/C/apparmor.html
status invalid
--
mysql failing to start due to permission errors
https://bugs.launchpad.net/bugs/227615
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list