Comment 16 for bug 448656

Revision history for this message
mcfang (ubuntu-mcfang) wrote :

I got the same audit errors, however these are a red herring as the problem had nothing to do with apparmor.

Check your daemon.log as it should have information about the actual cause, my daemon.log showed:
mysqld: 091107 14:03:37 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb'
mysqld: 091107 14:03:37 [ERROR] Aborting

removing the "skip-bdb" option in /etc/mysql/my.cnf solved it.

If you are upgrading a mysql install it is likely your my.cnf had "skip-bdb" which is no longer supported by the mysql server. New installs do not have this problem as they use a clean my.cnf