Alternative solution:
1. Edit /etc/apparmor.d/usr.sbin.mysqld and add the following two lines:
/home/mysql/ r,
/home/mysql/** rwk,
somewhere in the middle of the file. After the /var/lib/mysql lines would
be fine.
2. /etc/init.d/apparmor restart
3. /etc/init.d/mysql restart
You
Alternative solution:
1. Edit /etc/apparmor.d/usr.sbin.mysqld and add the following two lines:
/home/mysql/ r,
/home/mysql/** rwk,
somewhere in the middle of the file. After the /var/lib/mysql lines would
be fine.
2. /etc/init.d/apparmor restart
3. /etc/init.d/mysql restart
You