It seems that you're using a non-standard location to hold your data (/home/mysql). There may be an issue with mysqld AppArmor profile. See https://wiki.ubuntu.com/DebuggingApparmor for more information to deal with this issue.
Could you please provide the following information:
* apparmor audit messages related to mysqld:
/var/log/kern.log
* mysqld apparmor profile:
/etc/apparmor.d/usr.sbin.mysqld
* mysql configuration stripped of private information (such as password):
/etc/mysql/my.cnf
* extra mysql configuration from the conf.d directory:
It seems that you're using a non-standard location to hold your data (/home/mysql). There may be an issue with mysqld AppArmor profile. See https:/ /wiki.ubuntu. com/DebuggingAp parmor for more information to deal with this issue.
Could you please provide the following information:
* apparmor audit messages related to mysqld:
/var/ log/kern. log
* mysqld apparmor profile:
/etc/ apparmor. d/usr.sbin. mysqld
* mysql configuration stripped of private information (such as password):
/etc/ mysql/my. cnf
* extra mysql configuration from the conf.d directory:
/etc/ mysql/conf. d/