Coneccting to an existing database Coneccting to an existing database
 

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

Coneccting to an existing database

Started by caribe, October 04, 2004, 04:49:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

caribe

Hi, I had to reinstall Cpmg 1.3.2 again.
How can a use the database that was created?

Thanks.
talentoi@hotmail.com

Nibbler

Setup the include/config.inc.php to contain the details of the old database.

caribe

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.

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots