coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: caribe on October 04, 2004, 04:49:23 PM

Title: Coneccting to an existing database
Post by: caribe on October 04, 2004, 04:49:23 PM
Hi, I had to reinstall Cpmg 1.3.2 again.
How can a use the database that was created?

Thanks.
talentoi@hotmail.com
Title: Re: Coneccting to an existing database
Post by: Nibbler on October 04, 2004, 04:51:44 PM
Setup the include/config.inc.php to contain the details of the old database.
Title: Re: Coneccting to an existing database
Post by: caribe on October 04, 2004, 05:40:18 PM
you mean to set only this parts:
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your databaseserver
$CONFIG['dbuser'] =                         'root';        // Your mysql username
$CONFIG['dbpass'] =                         '';                // Your mysql password
$CONFIG['dbname'] =                         'coppermine';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';

that would bring me back all the details, like albums descriptions ect.
Title: Re: Coneccting to an existing database
Post by: kegobeer on October 04, 2004, 05:47:59 PM
That's correct.