Fix mysql script