forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: warhonowicz on March 25, 2007, 09:39:24 pm

Title: Problems moving to a new host & domain
Post by: warhonowicz on March 25, 2007, 09:39:24 pm
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

Code: [Select]
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.
Title: Re: Problems moving to a new host & domain
Post by: warhonowicz on March 25, 2007, 09:51:54 pm
I have also followed something I found in another post and manually (via phpmyadmin) set the gallery to debug mode. Makes no difference though.
Title: Re: Problems moving to a new host & domain
Post by: Joachim Müller on March 26, 2007, 07:49:56 am
Check the mysql settings, editing include/config.inc.php. If the mysql data is correct, ask your webhost for support.
Title: Re: Problems moving to a new host & domain
Post by: warhonowicz on March 26, 2007, 05:43:53 pm
Nothing like finding the missing piece of a puzzle and it all falling into place ...  cheers, works like a treat