Problems moving to a new host & domain Problems moving to a new host & domain
 

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

Problems moving to a new host & domain

Started by warhonowicz, March 25, 2007, 09:39:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

warhonowicz

So, I moved my page to a new host and a new domain. I downloaded everything from the old page via tgp to my local drive, then uploaded it again to the new server.
On the old server I went into phpmyadmin and made a complete backup of the database and on the new one I imported this.
So far this has all worked fine.

I then tried to access the gallery on the new server ... http://www.mmc.uk.com/gallery and got this

Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


My SQL is not good enough to make proper sense of that. Could anyone help?

I am using version 1.4.9 btw and it is (or was and should be again) bridged with a SMF forum.
Tell me and I will forget
Show me and I might remember
But involve me and I will understand

warhonowicz

I have also followed something I found in another post and manually (via phpmyadmin) set the gallery to debug mode. Makes no difference though.
Tell me and I will forget
Show me and I might remember
But involve me and I will understand

Joachim Müller

Check the mysql settings, editing include/config.inc.php. If the mysql data is correct, ask your webhost for support.

warhonowicz

Nothing like finding the missing piece of a puzzle and it all falling into place ...  cheers, works like a treat
Tell me and I will forget
Show me and I might remember
But involve me and I will understand