I have an mysql server and I want to change the datadir from /var/lib/mysql to dif_dir/mysql. Is it a simple scp? If not, what are the steps that I need to take?
$ rsync -avp /path/to/old/loc/ /path/to/new/loc/
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago