Comments - Unable to start mariadb due DDL recovery/log [Errcode: 13]
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.
by giving it create/write permissions to the MariaDB data directory for the user that ends up running on the mariadbd process.
I see you've used sudo mariadbd-safe, this is probably to a mysql user.