coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: dothanby on September 19, 2006, 12:35:20 AM

Title: Connection issue on system move
Post by: dothanby on September 19, 2006, 12:35:20 AM
moved to new server backed up db and program, reinstalled to new server, get this error Coppermine critical error:
Unable to connect to database !

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

verified in config. that db, user are correct. I changed in mysql through phpmyadmin the encrypt password
option set to 0 still can not see what the pw is/was or connect any suggestions.
Title: Re: Connection issue on system move
Post by: eruss on September 19, 2006, 03:04:22 AM
Using phpMyAdmin, try adding the user and password that you want to use for your gallery.  Remember, this is different from your Admin account...this is your mySQL account.
Title: Re: Connection issue on system move
Post by: Joachim Müller on September 19, 2006, 08:08:41 AM
Erm no, this is not correct: you don't change the password of your mySQL user, but change the mySQL settings for Coppermine that used to be valid on your old webhost but of course are not valid on your new webhost. Edit include/config.inc.php with a plain text editor and change the mySQL settings there to reflect the mySQL settings on your new webhost.