[Solved]: Switching databases on a new install? [Solved]: Switching databases on a new install?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Switching databases on a new install?

Started by shadowfox, August 29, 2009, 08:42:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shadowfox

My site hoster just had his building burned to the ground and all the servers went with it. Luckily I had a backup of the database :)

I was using phpbb 3.0.4, a premod version of portal xl 5 and cpg1.4 with one of the integration tools.

My question is, if I do a completely clean install of cpg1.4 and re-integrate into a completely clean install of the portal setup and phpbb 3.0.4 can I simply point to the old database like phpbb? If so, what file could I edit to manually change the db entries.

Thank you ahead of time :)

If I missed this in the search apologies. If it's in the manual again apologies  :-\

phill104

Yes, you can.

You need to edit include/config.inc.php with the connection details.
It is a mistake to think you can solve any major problems just with potatoes.

shadowfox

Quote from: Phill Luckhurst on August 29, 2009, 10:15:17 PM
Yes, you can.

You need to edit include/config.inc.php with the connection details.

Awesome thanks. Will update to say it's worked or not.