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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 2 Guests 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.