forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: wfs on July 06, 2006, 04:27:52 am

Title: can't log on to index.php page
Post by: wfs on July 06, 2006, 04:27:52 am
I got this message when I tried to log onto the index page of my website:

"Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'Tony@localhost' (Using password: YES)"


I've check with the webhost - he thinks lies with the user name Tony.
But I have never created this user.

what's the problem?  How do I correct the problem (I've no idea) ?

can anybody advise - thanks.
Title: Re: can't log on to index.php page
Post by: Gizmo on July 06, 2006, 04:44:26 am
You can check your mySQL data by downloading the include/config.inc.php file. Are you saying that when you try to login with one account name and password, the access denied comes up for "Tony..."?
Title: Re: can't log on to index.php page
Post by: wfs on July 06, 2006, 05:28:36 am
sorry, I did not make myself clear.

I've been logging on to the index.php page using IE.

It was Ok but the message came up yesterday.

Without access to my index.php page I cannot access the admin features, etc.etc.

I don't know what happened but I've checked the config page and the user name & password looks OK.
I can even create and test pages (using dreamweaver) and send up to the server and I can see the results when I launch these pages through dreamweaver.

But I just cannot use the browser and log on to the index.php page by typing in the address.

I'm lost at how to correct the problem - appreciate your help.  thanks.
Title: Re: can't log on to index.php page
Post by: Sami on July 06, 2006, 07:43:42 am
check the "tony" privileges on your databse
Title: Re: can't log on to index.php page
Post by: wfs on July 06, 2006, 08:25:23 am
Hi,

I'm lost  ???

I've used phpmyadmin to access my database.  Is this the way to do it?
What am I suppose to look for ?  Under which table? or what?

At the moment, I can't access any page using the browser. The same error message comes up.

pse help.

thanks.
Title: Re: can't log on to index.php page
Post by: Sami on July 06, 2006, 08:53:24 am
at your hosting control panel , you should have a Mysql databse manager
there you should define privilages for user to your cpg databse
give your "tony" user full privileges on cpg database
Title: Re: can't log on to index.php page
Post by: wfs on July 07, 2006, 02:52:24 am
I tried. It doesn't work.
Title: Re: can't log on to index.php page
Post by: Sami on July 07, 2006, 06:48:44 am
can you just create a new user for your cpg database and give that full privileges, and then put that user info. to config.inc.php?
Title: Re: can't log on to index.php page
Post by: Joachim Müller on July 07, 2006, 08:20:14 am
Double-post, see http://forum.coppermine-gallery.net/index.php?topic=33137.msg155942#new