Coppermine critical error: Unable to connect to database ! Coppermine critical error: Unable to connect to database !
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine critical error: Unable to connect to database !

Started by AngelC, December 04, 2006, 11:05:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AngelC

Hi this afternoon my gallery drop when i change in FTP the IP of the server and now appear this.
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'fotosdon'@'localhost' (using password: YES)
I try include/config.inc.php using the a new user and pass with privileges, but nothing.
Hot i can to do???
my web is www.fotosdonosti.com
Thanks

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

AngelC

Quote from: Frantz on December 04, 2006, 11:21:27 PM
Hi,

Check your config.inc.php

I try but nothing...

...
Im changing this configuration.but always the same message........if a change dbuser in the error message appear like 'fotosdon'@'localhost'
// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your databaseserver
$CONFIG['dbuser'] =                         'fotosdonosti';        // Your mysql username
$CONFIG['dbpass'] =                     'xxxxxxxxxxxxxxxx';                // Your mysql password
$CONFIG['dbname'] =                       'fotosdonosti';        // Your mysql database name

...

More ideas?

Joachim Müller

Are you making the mySQL data up or are you sure that it is correct? I suggest asking your webhost for support.

AngelC

The process....
1.- I lose mi pass and username to access by ftp to my web page to upload files.
2.- They send to me the information.  my Domain, ip number, username and pass.
3.- Ip number and pass are diferent than other time but runs in Ftp.
4.- I cant enter to my web appear Coppermine critical error.
5.- I configure include/config.inc.php using with combination of password username and database names...
6.- Web don´t runs.
7.-i make new user and password for the database with all privileges
8.-.......dont work.

Question:
1.- Why appear all time "fotosdon" if i change in include.inc.php? MySQL said: Access denied for user 'fotosdon'@'localhost'

2.-

Joachim Müller

Obviously the username "fotosdon" is the mySQL username that you specified in include/config.inc.php.
As I suggested: ask your webhost for support - maybe they changed something in your mySQL setup when they recovered your lost FTP access data.

AngelC

Quote from: GauGau on December 05, 2006, 09:15:21 AM
Obviously the username "fotosdon" is the mySQL username that you specified in include/config.inc.php.
As I suggested: ask your webhost for support - maybe they changed something in your mySQL setup when they recovered your lost FTP access data.

I think that if i put dbUsername  fotosdon with the correct password and database name.... the gallery have to work??

AngelC

I can know whit php my admin all information pass and more off my MYSql Date base??? Where is the information?
Thanks

magnum

You can't retrieve the information using phpmyadmin, because the passwords are stored encrypted.

Again: You have to ask your webhoster.

AngelC

OMG !!! i have my WEB ONLINE !!!! Thanks for your help :)

I found the problem....was very easy... in ftp i had config.inc.php and config.inc.php .... i delete config.inc.sample and i configure config.inc.php and now Work perfect.
Thanks a lot :D