1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Moving Database

Discussion in 'XenForo Questions and Support' started by Ark Royal, Nov 22, 2013.

  1. Ark Royal

    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
     
  2. The Dark Wizard

    The Dark Wizard Well-Known Member

    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 :)!
     
  3. Ark Royal

    Ark Royal Active Member

  4. The Dark Wizard

    The Dark Wizard Well-Known Member

Share This Page