Comments - Default Data Directory for MariaDB?
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
The solution was to switch apparmor off. It is shown here how to do it: https://stackoverflow.com/questions/46111723/usr-sbin-mysqld-error-while-loading-shared-libraries-liblz4-so-1-cannot-open