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...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/934013

Title:
  Mysql fails to start after upgrade to precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/934013/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to