setup mariadb databases on first install