Submit final database script query (MySQL)