- Apr 11, 2011
I have reviewed the unsupported guide on replacing MySQL with MariaDB and simply reversed the steps for you.Hi,
Can you give me tutorial (steps) for replace it?
Step 1: Backup existing MySQL data
Make sure to save all existing data just in case there are any issues.
cp -Rf /var/lib/mysql /var/lib/mysql-old mv /etc/my.cnf /etc/my.cnf-old
The following will mark the versions of MySQL we distribute as installed so they are maintained by cPanel/WHM. Note: Only use the command specific to your version of MySQL.
/scripts/update_local_rpm_versions --edit target_settings.MySQL50 installed /scripts/update_local_rpm_versions --edit target_settings.MySQL51 installed /scripts/update_local_rpm_versions --edit target_settings.MySQL55 installed
yum remove MariaDB-server MariaDB-client MariaDB-devel