Fix mysql store script