coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: shakeb on November 27, 2004, 05:09:07 PM

Title: Changed my MySQL Password
Post by: shakeb on November 27, 2004, 05:09:07 PM
Hi,
I installed Coppermine and everything worked fine. I deleted the MySQL account which I used while installing Coppermine. I have another admin MySQL account for the server.
Now Obviously Coppermine says Critical Error: Can't connect to database and then the MySQL error thing etc etc. I can't access the page.

QuoteCoppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'ODBC@127.0.0.1' (Using password: NO)

How do I change the MySQL username and password which I initally entered while installing Coppermine.
Is there anything I can do about it?
Thanks for any help.
Shakeb
Title: Re: Changed my MySQL Password
Post by: hama on November 27, 2004, 05:09:56 PM

I think you have to change it in \include\config.inc.php.
Title: Re: Changed my MySQL Password
Post by: Casper on November 27, 2004, 05:21:11 PM
hama thinks correctly, it's the include/config.inc.php file which is on the server.
Title: Re: Changed my MySQL Password
Post by: shakeb on November 27, 2004, 05:18:45 PM
Yep got it.
It's actually \cpg132\include\config.inc for Coppermine.


Title: Re: Changed my MySQL Password
Post by: shakeb on November 27, 2004, 05:24:13 PM
Quote from: Casper on November 27, 2004, 05:21:11 PM
hama thinks correctly, it's the include/config.inc.php file which is on the server.

thanks
yep I alread changed that one for the server.
But I also had to change \cpg132\include\config.inc for coppermine to work.

thanks anyways guys.
Title: Re: Changed my MySQL Password
Post by: Casper on November 27, 2004, 05:24:11 PM
well obviously I meant the include folder within your coppermine folder, which couldl be called all sorts of different things, from 'gallery' 'albums' 'pics' or whatever.
Title: Re: Changed my MySQL Password
Post by: Tranz on November 27, 2004, 05:50:49 PM
Quote from: shakeb on November 27, 2004, 05:24:13 PM
But I also had to change \cpg132\include\config.inc for coppermine to work.
We have no such file, config.inc. The one we have ends in .php. Such a file ending in .inc would be a huge security risk. Are you sure the file name is config.inc?
Title: Re: Changed my MySQL Password
Post by: hama on November 27, 2004, 05:56:45 PM

They talk about config.inc.php in include, I think.

By the way your website looks good, I like the cats ...  :)

hama