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: changing db name/pw - which files?  (Read 3471 times)

0 Members and 1 Guest are viewing this topic.

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
changing db name/pw - which files?
« 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





« Last Edit: May 31, 2005, 12:40:26 am by TranzNDance »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: changing db name/pw - which files?
« Reply #1 on: May 29, 2005, 03:48:35 am »

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

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: changing db name/pw - which files?
« Reply #2 on: May 29, 2005, 03:52:03 am »

Yes. I just finisished doing that via FTP.

Col
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: changing db name/pw - which files?
« Reply #3 on: May 29, 2005, 04:03:58 pm »

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

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: changing db name/pw - which files?
« Reply #4 on: May 30, 2005, 11:30:11 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
Logged

Nibbler

  • Guest
Re: changing db name/pw - which files?
« Reply #5 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"
Logged

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: changing db name/pw - which files?
« Reply #6 on: May 31, 2005, 12:28:06 am »

Thankyou.
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 20 queries.