coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: shadowfox on August 29, 2009, 08:42:13 PM

Title: [Solved]: Switching databases on a new install?
Post by: shadowfox on August 29, 2009, 08:42:13 PM
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  :-\
Title: Re: Switching databases on a new install?
Post by: phill104 on August 29, 2009, 10:15:17 PM
Yes, you can.

You need to edit include/config.inc.php with the connection details.
Title: Re: Switching databases on a new install?
Post by: shadowfox on August 30, 2009, 10:19:24 PM
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.