As Serge mentioned, you have chosen a datadir that is site-specific, uncommon and different from the default on Ubuntu. You can configure AppArmor for your environment in the /etc/apparmor.d/usr.sbin.mysqld profile. Feel free to see https://wiki.ubuntu.com/DebuggingAppArmor for more information.
** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: Confirmed => Won't Fix -- [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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs