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: Transfer everything to new host!  (Read 6339 times)

0 Members and 1 Guest are viewing this topic.

rwwlee

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Transfer everything to new host!
« on: October 27, 2006, 09:24:46 am »

Hi, Sorry this is not directly related to the coppermine.

I've got a new web host and i need to transfer everything to this new host.

I transferred all the files under public_html and i used the cpanel to backup the coppermine sql database and then restore it in the new host cpanel. But things are not working and i get the following message:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'rwwlee_copp2'@'localhost' (using password: YES)

rwwlee was the login name from the old host, something definitely is wrong.

Is there a way i could transfer everything to the new host and still retain all my photo's view history and ratings?? Thank you very much for your help.
« Last Edit: October 27, 2006, 05:42:49 pm by Nibbler »
Logged

rwwlee

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Transfer everything to new host!
« Reply #1 on: October 27, 2006, 09:39:15 am »

I've edited the config.inc.php file to reflect the new host... things are still not working!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Transfer everything to new host!
« Reply #2 on: October 27, 2006, 11:28:33 am »

Create a new mysql user with all privileges for CPG's database and put new user info in config.inc.php
Logged
‍I don't answer to PM with support question
Please post your issue to related board

rwwlee

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Transfer everything to new host!
« Reply #3 on: October 27, 2006, 01:50:13 pm »

Thanks, i've setup the new user (all previlages) and changed what's in the config.php file, but still getting the message below when i load my page:
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'richardl_copp2'@'localhost' (using password: YES)


what am i doing wrong? what does the using password: YES mean?
Logged

rwwlee

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Transfer everything to new host!
« Reply #4 on: October 27, 2006, 02:17:46 pm »

BTW, i'm running the testing off the address of my new webhosting rather than my own personal domain.. i want to test it out before changing my nameservers.... does that have an effect of the fact that my galleries are still not working??

do i have to change the "localhost" thing under config.php to make it work??

Thank you so much for your help...
Logged

rwwlee

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Transfer everything to new host!
« Reply #5 on: October 27, 2006, 03:21:34 pm »

fixed it.. just need to update the password in config.php
thank you
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.