check mariadb status before creating admin user