Hey Everyone,
I've researched this for many hours and still am unclear on the best way to do this. I have an overloaded WHM server and need to get the MySQL server onto its own machine. Here is what I want to do:
Create (optimally MariaDB rather than MySQL) server on local network.
Add MySQL Profile to WHM as per: Manage MySQL Profiles - Documentation - cPanel Documentation
Move all databases over to new server.
Shut down MySQL on the original webserver.
Update all of the websites to connect to the new database server (I am assuming that cPanel will not automatically redirect MySQL to the correct place?).
I have successfully done everything except for moving the databases over. Last time I tried, none of the passwords transferred. Additionally, I recently learned of the /var/cpanel/databases folder, which I imagine has to be updated if I manually move the databases.
Is there a good way to do this? Thank you!
I've researched this for many hours and still am unclear on the best way to do this. I have an overloaded WHM server and need to get the MySQL server onto its own machine. Here is what I want to do:
Create (optimally MariaDB rather than MySQL) server on local network.
Add MySQL Profile to WHM as per: Manage MySQL Profiles - Documentation - cPanel Documentation
Move all databases over to new server.
Shut down MySQL on the original webserver.
Update all of the websites to connect to the new database server (I am assuming that cPanel will not automatically redirect MySQL to the correct place?).
I have successfully done everything except for moving the databases over. Last time I tried, none of the passwords transferred. Additionally, I recently learned of the /var/cpanel/databases folder, which I imagine has to be updated if I manually move the databases.
Is there a good way to do this? Thank you!