Moved Gallery to New Server - Help - Changing localhost to an IP Moved Gallery to New Server - Help - Changing localhost to an IP
 

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

Moved Gallery to New Server - Help - Changing localhost to an IP

Started by JumpNetwork, August 19, 2007, 02:58:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JumpNetwork

Hello,

I have just changed Web Hosts, and the new server does not use localhost to access the database server.  The Database is held on another server to the web pages.

I have the local IP for the Database, but need to know how to change Coppermine Gallery to use this.

I am using 1.4.12 too.

Thanks in advance.

Sami

{gallery-root}/include/config.inc.php


$CONFIG['dbserver'] =                         'XXX.XXX.XXX.XXX';        // Your database server
‍I don't answer to PM with support question
Please post your issue to related board

JumpNetwork

How would we change what domain the Gallery is on?

I want to change it from the Global Domain over to my .au domain.

JumpNetwork

Also,

When I  type in the full url of

www.jn1.com.au/gallery1/index.php i get the following error

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'becs1_copp1'@'r11p.nswebhost.com' (using password: YES)

JumpNetwork

Sorry, I tried to edit my post above, but you can't edit them.

I should have stated what the address are;

www.jn1.com.au/gallery1

When you go there it directs you to the Domain where the Gallery is actually installed on which is  www.becscrafts.com.au/gallery1

At this site (which is on a different server) it works.  But I am changing Servers to a different host.  This host is the one that has the Database stored on a different server, so I am using the domain of jn1.com.au as a parked domain for testing purposes.

So, that is why you have to go to jn1.com.au/gallery1/index.php

Thanks for your help

Chris.

Joachim Müller

There's no point in posting your URL. We can not tell you what the mysql data will look like. There is no naming scheme based on the website URL. Ask your webhost for support.