As Serge mentioned, you have chosen a datadir that is site-specific, uncommon and different from the default on Ubuntu. You can configure AppArmor for your environment in the /etc/apparmor.d/usr.sbin.mysqld profile. Feel free to see https://wiki.ubuntu.com/DebuggingAppArmor for more information.
As Serge mentioned, you have chosen a datadir that is site-specific, uncommon and different from the default on Ubuntu. You can configure AppArmor for your environment in the /etc/apparmor. d/usr.sbin. mysqld profile. Feel free to see https:/ /wiki.ubuntu. com/DebuggingAp pArmor for more information.