In this specific case it is possible MariaDB was killed due to OOM issues.
You can try `sudo systemctl restart mariadb` if that doesnt work you can run `sudo ps -ef | grep 'mysql'` get the PID then run `kill -9 PID` and then `sudo systemctl start mariadb` which should get mariadb back up...