lock mysql version