Coneccting to an existing database Coneccting to an existing database
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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