Comment 8 for bug 934013

Revision history for this message
Ivan Ivanov (ivan-lz) wrote :

I am using mysql server package 5.5.22-0ubuntu1

the fix above says it fixed this bug which is named "Mysql fails to start after upgrade to precise"

I dont think so:

Bug symtoms:

- my mysqld still does not want to start (even when I use a more recent mysql-server version than the one with the fix)
- I saw that it has to do with apparmor and mysql

so.. I searched aptitude with

sudo aptitude search apparmor

I purged apparmor

sudo aptitude purge apparmor apparmor-utils

and I installed it back

sudo aptitude install apparmor apparmor-utils

and :

....

AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 44: Could not open 'local/usr.sbin.mysqld'

....

after I saw on which line of which file the problem is - I just saw there is this on the line:

#include <local/usr.sbin.mysqld>
--

then I saw local means - /etc/apparmor.d/local

then I got in there and just created an empty file named

touch usr.sbin.mysqld

and purged apparmor and installed it again...

now my mysql started ok...