AppArmor on Ubuntu and MySQL in custom directories
AppArmor profile on Ubuntu is (rightly) restrictive and prevents the daemon binary mysqld from writing to unexpected locations. So here's another one in my series of 'stupid notes to self' -- things that may help a reader, things that will help me, but things that are not proper or full guides to solving a problem. [...]