changing db name/pw - which files? changing db name/pw - which files?
 

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

changing db name/pw - which files?

Started by Colliope, May 29, 2005, 03:45:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Colliope

I found these directions here on the forum for moving to new host:

1) Export your old Coppermine database tables using phpMyAdmin.

2) Move the entire Coppermine directory to your new host.

3) Create a new Coppermine database with the same name, same username, and same password as the old one.

4) Import your Coppermine database tables using phpMyAdmin.

5) If the URL to your gallery isn't the same, change that value in the ecards_more_pic_target field in your config table.

6) If you changed the database name, MySQL connection info, etc, then make the appropriate changes to your config.inc.php file.

I did not keep the same db name, username, and password as it says to in #3, so I need to edit the appropriate files to change the info. #6 says to edit  config.inc.php file but I am not finding that.  I have /Coppermine/config.php but don't see the db info in it anywhere.  I also found /Coppermine/include/config.inc.php.sample but that doesn't seem to be the right file either. Where do I find the right place (or places) to change my db info?

Also, my URL is differnt, so I need to make the change in #5. Where exactly is that located?

Thanks,

Col






kegobeer

Did you copy all of your Coppermine files from your previous server to your new server?
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

Colliope

Yes. I just finisished doing that via FTP.

Col

kegobeer

Then your config.inc.php file is in the /include directory.
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

Colliope

Quote from: kegobeer on May 29, 2005, 04:03:58 PM
Then your config.inc.php file is in the /include directory.

Sure is. Right above the /Coppermine/include/config.inc.php.sample file. I did not see it yesterday.  Thanks.  Can you tell me where the "ecards_more_pic_target field in your config table" is located so I can change my url as per the directions?

Col

Nibbler

You can modify that from the normal config page, it's called " Target address for the 'See more pictures' link in e-cards"

Colliope