forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: nnaerie on June 17, 2006, 05:59:45 am

Title: URENT! UNABLE TO CONNECT TO DATABASE!
Post by: nnaerie on June 17, 2006, 05:59:45 am
I am hoping this is simple to resolve...

I just moved my domain and files to a new server, and the directories are all different, not sure if that's the issue...

None of my PHP is working, for the gallery or PHPBB.  I downloaded all my files before moving servers, but have no idea how to recreate the database or make things work again.  Following is the error that I get...please help!:


"Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'nnaerie_dbadmin@localhost' to database 'nnaerie_galerie'"
Title: Re: URENT! UNABLE TO CONNECT TO DATABASE!
Post by: Sami on June 17, 2006, 08:13:13 am
- do you have a backup of your previuse database?
- if "yes" then you should restore it using phpMYadmin or any other Mysql tools and create a user with full previleges.
- if  "no" then ,do you have access to your old hosting?
- if "no" then ,you lost your previuse data and should reinstall both.
Title: Re: URENT! UNABLE TO CONNECT TO DATABASE!
Post by: Joachim Müller on June 18, 2006, 10:28:50 am
You'll have to edit include/config.inc.php anyway to reflect the database changes on your new server. Seems to me that you should ask your new webhost for migration support, as you appear to have no clue about databases.
Title: Re: URENT! UNABLE TO CONNECT TO DATABASE!
Post by: Joachim Müller on June 18, 2006, 11:02:01 am
I just discovered that you started an identical thread on the cpg1.4.x-support board (http://forum.coppermine-gallery.net/index.php?topic=32779.0), so I'm flagging this thread accordingly and locking it. In the future, don't cross post! Trying to draw attention to your issues in this way is just causing double work for supporters and will make them reluctant to help!