How To Migrate MySQL To A New Volume On CentOS

Author: , October 26th, 2011

Stop MySQL and move the existing database files to the EBS volume.

Use the bind option to the mount command in the /etc/fstab file to direct MySQL to the correct files, then restart: