Coneccting to an existing database Coneccting to an existing database
 

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

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