coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: carolus on April 09, 2006, 11:53:56 PM

Title: migrate to another host
Post by: carolus on April 09, 2006, 11:53:56 PM
Hello,
I would like to change the host. Who can tell me what I exactly to do so that I do not loose data?

carolus
Title: Re: migrate to another host
Post by: Sami on April 10, 2006, 12:55:20 AM
1.backup from entire gallery (main directory with all folders)
2.backup from Mysql database (with 3rdparty app such as "Mysql administrator" , you can find it on http://dev.mysql.com/downloads/administrator/index.html)

aftem migrating
1.restore your Mysql database and should create username and password same as old
2.reastore your gallery and have fun
Title: Re: migrate to another host
Post by: gregy on June 27, 2006, 09:04:57 AM
hmm .. i had to change prefix .. do i have to change anything in settings or elsewhere?
Title: Re: migrate to another host
Post by: Sami on June 27, 2006, 09:24:53 AM
yes you should edit your include/config.inc.php and set the new prefix there
Title: Re: migrate to another host
Post by: gregy on June 27, 2006, 09:39:17 AM
thanx for quick reply .. i knew it must be somewhere, just didn't know where :)

works like a charm!

thanx again .. bye
Title: Re: migrate to another host
Post by: ragis on December 03, 2006, 08:23:18 AM
Sorry to rehash an old topic but I've followed Sami's instructions edited my config.inc.php. What should I be changing prefix to?


I'm getting the following in my /gallery/include/init.inc.php

Undefined variable: HTTP_POST_VARS
Undefined variable: HTTP_GET_VARS
Undefined variable: HTTP_COOKIE_VARS
Undefined variable: HTTP_SERVER_VARS

I'm also getting:

MySQL said: Access denied for user 'databasename'@'server.myhost.com' (using password: YES)
Title: Re: migrate to another host
Post by: Sami on December 03, 2006, 10:00:15 AM
First you should solve you mysql problem ,
It says that user doesn't have access to DB ,so go to your hosting control panel and create a mysql user with ALL previlages on CPG's DB and then update DB and user info on include/config.inc.php
Title: Re: migrate to another host
Post by: Joachim Müller on December 03, 2006, 11:52:10 AM
Quote from: ragis on December 03, 2006, 08:23:18 AM
Sorry to rehash an old topic
Well, basically, it's a thread that deals with cpg1.3.x

There are two possibilities:
Be it as it may. Locking this thread.