coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Starrysky on January 17, 2007, 11:46:26 AM

Title: Moving Gallery Problems
Post by: Starrysky on January 17, 2007, 11:46:26 AM
I'm having problems moving my gallery from one host to a new host. I backed up my databases and I loaded them to the new server, but when I try to access the gallery I get this message:

Coppermine critical error:
Unable to connect to database !

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

What did I do wrong? I can see my files through ym FTP, but for whatever the reason, the gallery isn't working properly.
Title: Re: Moving Gallery Problems
Post by: Nibbler on January 17, 2007, 12:17:05 PM
Make sure include/config.inc.php has the correct MySQL info.
Title: Re: Moving Gallery Problems
Post by: Starrysky on January 17, 2007, 01:24:28 PM
And what correct information should that be? Is it supposed to be the same username and password that I had with the gallery at my old host? Sorry, I've never transferred my gallery before so I'm not sure what to do.
Title: Re: Moving Gallery Problems
Post by: Nibbler on January 17, 2007, 02:33:31 PM
Needs the name of the database that Coppermine is installed in and a valid username and password to access that database. Your host probably has a control panel to manage your MySQL accounts.
Title: Re: Moving Gallery Problems
Post by: Starrysky on January 17, 2007, 10:32:21 PM
Okay, should that username and password be the username that I used to access my gallery with or does it have to be something entirely different, or similiar to by cpanel log in info or what? My host does have a MySQL account, but I'm not entirely sure what I need to do or what I need to change or anything.
Title: Re: Moving Gallery Problems
Post by: Starrysky on January 17, 2007, 11:42:08 PM
Never mind, I figured it out.

My include/config.inc didn't have the correct MySQL info since I changed hosts. Thanks for the help!