In case you are working inside a LXC (Proxmox) container environment you may have to consider https://stackoverflow.com/questions/59952398/mariadb-service-failed-to-set-up-mount-namespacing-permission-denied-failed.