How to Switch Database MySQL?
Hello, Sorry if this on wrong section, but I have 2 wordpress sites using cpanel, but I want to switch their database (post,pages,plugin,etc)
Like
Site A database goes to Site B
and Site B database go to Site A
Is there a guide to switch the database without causing the problem?
-
Hi Elizabeth, You can take a backup of both the sites and update the database on the wp-config file with the respective user name and password. 0 -
The route suggested by @Henry Carter is probably the easiest, you can also use the DB Map tool if you have WHM access - Database Map Tool | cPanel & WHM Documentation 0 -
Hello, The databases should not get removed, no. 0 -
If a site is installed using Softaculous, and then you uninstall it, using Softaculous, the database will be removed, AFAIK... 0
Please sign in to leave a comment.
Comments
5 comments