coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Colliope on May 29, 2005, 03:45:37 AM

Title: changing db name/pw - which files?
Post by: Colliope on May 29, 2005, 03:45:37 AM
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





Title: Re: changing db name/pw - which files?
Post by: kegobeer on May 29, 2005, 03:48:35 AM
Did you copy all of your Coppermine files from your previous server to your new server?
Title: Re: changing db name/pw - which files?
Post by: Colliope on May 29, 2005, 03:52:03 AM
Yes. I just finisished doing that via FTP.

Col
Title: Re: changing db name/pw - which files?
Post by: kegobeer on May 29, 2005, 04:03:58 PM
Then your config.inc.php file is in the /include directory.
Title: Re: changing db name/pw - which files?
Post by: Colliope on May 30, 2005, 11:30:11 PM
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
Title: Re: changing db name/pw - which files?
Post by: Nibbler on May 30, 2005, 11:32:58 PM
You can modify that from the normal config page, it's called " Target address for the 'See more pictures' link in e-cards"
Title: Re: changing db name/pw - which files?
Post by: Colliope on May 31, 2005, 12:28:06 AM
Thankyou.