I upgraded the box runnning my mythtv backend server from 10.04 to 12.04 today, and was affected by this.
fixed it by editing /etc/apparmor.d/usr.sbin.mysqld and changing lines /var/run/mysqld/mysqld.pid w, /var/run/mysqld/mysqld.sock w, to /run/mysqld/mysqld.pid w, /run/mysqld/mysqld.sock w, now mysql starts. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.1 in Ubuntu. https://bugs.launchpad.net/bugs/915490 Title: mysql server cannot start with apparmor enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/915490/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs