Cleaning up some MariaDB issues.