XF 1.2 Moving Database

Ark Royal

Active member
If my hosts were to move my SQL database to another server, how do I ensure that XenForo can find the new location and will continue to work?

AR
 
If my hosts were to move my SQL database to another server, how do I ensure that XenForo can find the new location and will continue to work?

AR

You would go to your files, library/config.php to be exact and edit the host for the mysql server, usually it is "localhost" when xF and the database on the same server, but if you want to move the database just replace "localhost" with the IP of the server where the database resides.

Make sure that the port and username/password are also all correct in the same file.

I hope that helps :)!
 
Top Bottom