Change mysql data folder setting, move mysql data folder and restart
required service.