[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jun 23 18:43:00 BST 2010


You'll need to add a rule in /etc/apparmor.d/usr.sbin.mysqld to allow mysqld
access to your chosen datadir.  Something like

/opt/mysqld/** rwk,

underneath the line:

/var/lib/mysqld/* rwk,

-- 
[lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor
https://bugs.launchpad.net/bugs/597490
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list