Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Transfering coppermine installation  (Read 5841 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Transfering coppermine installation
« on: November 21, 2011, 08:31:22 pm »


I am switching hosts end of the month and I already want to transfer my coppermine installation so it doesn't have any 'offline time'.
I have copied the files to my new host, so the full coppermine folder with the albums and everything
I have imported my full database to a new database but now I wonder where I can change the settings of my new database name. It's probably still referring to the old database name and access codes but I wish to change that for my new host.
In which file can I change the settings?
Will my installation work then or is there a better way to do so?


François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Transfering coppermine installation
« Reply #1 on: November 21, 2011, 08:45:55 pm »

wy didn't you read the doc before aswering such a question ?
read this
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


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Transfering coppermine installation
« Reply #2 on: November 22, 2011, 05:16:02 pm »

Edit the database settings
Your new webhost must have provided you with the mySQL access data (you already had to use that data to restore the dump on the new server). That mySQL data usually will differ from the mySQL data on the old webserver, so you will have to edit the file that contains those data. Use a plain text editor (notepad.exe is fine) and edit include/ inside that file, you will find the old mySQL data that you will need to overwrite with the mySQL data for the new server.
Pages: [1]   Go Up

Page created in 0.017 seconds with 19 queries.