Generate common MySQL scripts