So, I have become very good at checking the MySQL setup, and in my case (I recently restarted my server) I had AppArmor properly setup but it still would not work
My previous actions, as pointed out, disabled AppArmor why it after that started working @seth-arnold Seth Arnold pointed out the correct solution in #6 The proper solution is: systemctl reload apparmor.service - which applies the current and extensively checked settings, this apply which apparently had not been done, and this keeps AppArmor active and MySQL working The question might be why are the settings not applied even on a server reboot? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1610765 Title: Apparmor refuses mysqld open on /etc/mysql/my.cnf.migrated causing it to fail to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1610765/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs