MariaDB failed to start outputing this error: [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with –with-aria-tmp-tables
to fix this move the aria_log_control file:
mv /var/lib/mysql/aria_log_control /root/
restart mysqd and it should be working.