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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
