where does cpg store the name of the database it is using where does cpg store the name of the database it is using
 

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

where does cpg store the name of the database it is using

Started by shutterhappy, November 02, 2007, 09:17:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shutterhappy

 ??? ??? ???
I have recently had some installation problems that were unrelated to coppermine.  The short of the story is that I know I have more MySql databases named xxx_cpg1throughwhatever than I have installations.

Which file does CPG use to store the name of the database that installation is using?
??? ??? ???

Your help is appreciated in advance.

Peter


shutterhappy

I should add that the obvious reason for this is so that I can delete the unneeded db's.

François Keller

do you ask about database or database tables ?
database name the table prefix used for your gallery are stored in the config.inc.php file.
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

shutterhappy

 :) :o :)

Thank you very much.

I was asking about the database itself -- I wanted to go through all the installs that still existed and delete those databases that were no longer being used.

I thought I had looked at all the files that started with config, but I guess not. 

I found what I needed. 

Cheers to you!

Peter

:)  :o :)

Joachim Müller

Coppermine doesn't create databases during install, only database tables. As suggested: the information about the mysql data used reside in include/config.inc.php

shutterhappy

Gaugau,

I realize that coppermine does not create databases during install -- I did. 

But I negelcted to write down the names of which ones went with which installs -- before a domain swap which confused several installs..... In which case I needed to replace the install quickly and figure out which one was no long being used after the fact.

I have the information I need.  Thanks.

p