Advanced search  

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

Pages: [1]   Go Down

Author Topic: Coppermine critical error: Unable to connect to database !  (Read 4077 times)

0 Members and 1 Guest are viewing this topic.

AngelC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Coppermine critical error: Unable to connect to database !
« on: December 04, 2006, 11:05:12 pm »

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
« Last Edit: December 06, 2006, 06:34:04 am by GauGau »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Coppermine critical error: Unable to connect to database !
« Reply #1 on: December 04, 2006, 11:21:27 pm »

Hi,

Check your config.inc.php
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Coppermine critical error: Unable to connect to database !
« Reply #2 on: December 04, 2006, 11:28:17 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error: Unable to connect to database !
« Reply #3 on: December 05, 2006, 05:52:24 am »

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

AngelC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Coppermine critical error: Unable to connect to database !
« Reply #4 on: December 05, 2006, 09:05:53 am »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine critical error: Unable to connect to database !
« Reply #5 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.
Logged

AngelC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Coppermine critical error: Unable to connect to database !
« Reply #6 on: December 05, 2006, 02:39:16 pm »

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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Coppermine critical error: Unable to connect to database !
« Reply #7 on: December 05, 2006, 02:42:40 pm »

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

magnum

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Coppermine critical error: Unable to connect to database !
« Reply #8 on: December 05, 2006, 02:51:40 pm »

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

Again: You have to ask your webhoster.
Logged

AngelC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Coppermine critical error: Unable to connect to database !
« Reply #9 on: December 05, 2006, 03:22:52 pm »

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
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.