coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: rwwlee on October 27, 2006, 09:24:46 AM

Title: Transfer everything to new host!
Post by: rwwlee 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.
Title: Re: Transfer everything to new host!
Post by: rwwlee 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!
Title: Re: Transfer everything to new host!
Post by: Sami 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
Title: Re: Transfer everything to new host!
Post by: rwwlee 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?
Title: Re: Transfer everything to new host!
Post by: rwwlee 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...
Title: Re: Transfer everything to new host!
Post by: rwwlee on October 27, 2006, 03:21:34 PM
fixed it.. just need to update the password in config.php
thank you