move controller in mysql setup