I have mysql data mounted to
/var/lib/mysql
And what I want is to move it to
/fast/mysql
My plan is following:
- Stop mysql.
- Rsync from
/var/lib/mysql
to/fast/mysql
. - Change
my.cnf
to point to/fast/mysql
. - Run mysql.
Are there any problems with my plan?