I ran into this problem when I upgraded my VM from 14.04 to 16.04.
mysql server no longer started, and after a re-install with
sudo apt purge mysql-server mysql-server-5.7 mysql-server-core-5.7 sudo apt install mysql-server
showed the errors stated
I shut them up with: sudo nano /etc/apparmor.d/usr.sbin.mysqld
editing the system resource access section to:
# Allow system resource access /sys/devices/system/cpu/ r, /sys/devices/system/node/ r, /sys/devices/system/node/** r, /proc/** r,
Now it starts with no more app-armor blocks
I ran into this problem when I upgraded my VM from 14.04 to 16.04.
mysql server no longer started, and after a re-install with
sudo apt purge mysql-server mysql-server-5.7 mysql-server- core-5. 7
sudo apt install mysql-server
showed the errors stated
I shut them up with: d/usr.sbin. mysqld
sudo nano /etc/apparmor.
editing the system resource access section to:
# Allow system resource access devices/ system/ cpu/ r, devices/ system/ node/ r, devices/ system/ node/** r,
/sys/
/sys/
/sys/
/proc/** r,
Now it starts with no more app-armor blocks