Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Coneccting to an existing database  (Read 3388 times)

0 Members and 1 Guest are viewing this topic.

caribe

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Coneccting to an existing database
« 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
Logged

Nibbler

  • Guest
Re: Coneccting to an existing database
« Reply #1 on: October 04, 2004, 04:51:44 pm »

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

caribe

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Coneccting to an existing database
« Reply #2 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.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coneccting to an existing database
« Reply #3 on: October 04, 2004, 05:47:59 pm »

That's correct.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.