coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ricardojb on June 25, 2009, 07:47:27 PM

Title: Database connection problem
Post by: ricardojb on June 25, 2009, 07:47:27 PM
I posted this yesterday but the message dissappeared. I really have searched the forum and the documentation but I cannot find the same case.

The issue is simple, I am getting a connection error, however, the problem is not the wrong password, but that coppermine is not passing the password with the connection (using password NO).

I know you can change database parameters in the config.inc.php file, however, I cannot find anywhere how to make the app. connect with a password, nor I know why this was changed.

Thanks in advance (and I hope this doesn't get deleted).
Title: Re: Database connection problem
Post by: Joachim Müller on June 25, 2009, 07:59:59 PM
If you specify a database password in include/config.inc.php, that password will be used.
Title: Re: Database connection problem
Post by: phill104 on June 25, 2009, 10:47:18 PM
We never delete a thread unless it is spam, even when we are being insulted or abused we just sensor any bad words.

This did not happen in your case but we had some server problems. Please see the thread below. Our apologies for the loss of your first post.

http://forum.coppermine-gallery.net/index.php/topic,60323.0.html
Title: Re: Database connection problem
Post by: ricardojb on June 26, 2009, 04:11:55 AM
Quote from: Joachim Müller on June 25, 2009, 07:59:59 PM
If you specify a database password in include/config.inc.php, that password will be used.

Hi Joachim,

I did specify the user name and pwd. I even compared with the sample file and with other config files in other galleries that are working, but for some reason the password is not passed accross.
Title: Re: Database connection problem
Post by: ricardojb on June 26, 2009, 04:13:07 AM
Quote from: Phill Luckhurst on June 25, 2009, 10:47:18 PM
We never delete a thread unless it is spam, even when we are being insulted or abused we just sensor any bad words.

This did not happen in your case but we had some server problems. Please see the thread below. Our apologies for the loss of your first post.

http://forum.coppermine-gallery.net/index.php/topic,60323.0.html

no problem, since I don't post regularly I wasn't aware of the rules and I thought that maybe I was asking something that was answered before or something like that, some message boards don't allow that.

Thanks for your explanation.