Advanced search  

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]

Pages: [1]   Go Down

Author Topic: having troubles moving coppermine to new host  (Read 3540 times)

0 Members and 1 Guest are viewing this topic.

waylman

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
having troubles moving coppermine to new host
« on: January 20, 2008, 09:00:48 pm »

I am moving a coppermine db to my new host, Dreamhost. I have done this so far:

1. downloaded the coppermine directory and uploaded it to new host. The URL is www.lmlyp.com/photos

2. I make a backup of the db at the old host and imported it with the new host. The db name is dwtb_photos.

When I connect to www.lmlyp.com/photos I get:

Coppermine critical error:
Unable to connect to database !

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


I'm guessing I need to do a little configuration to get this working with the new host but I'm not sure what needs to be done. Thanks for any help!!!
« Last Edit: January 20, 2008, 10:28:00 pm by Nibbler »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: having troubles moving coppermine to new host
« Reply #1 on: January 20, 2008, 09:17:44 pm »

You need to change the details in include/config.inc.php to the new mysql details.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

waylman

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: having troubles moving coppermine to new host
« Reply #2 on: January 20, 2008, 09:49:00 pm »

thanks a lot, that did it.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 16 queries.