how can I update install for new sql host how can I update install for new sql host
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

how can I update install for new sql host

Started by labro, January 23, 2008, 06:33:21 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

labro

Hallo,
My gallery http://www.mlabro.ovh.org on demo1g housing was running for several weeks and suddenly I have mysql error messages
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I have contacted ovh support and they say my sql host/name is not valid but they don't know why and what to do.
I have run coppermine install but it says that a include/install.lock must be deleted first. I have done it and run install but all fileds are empty.
I thought the actual settings would be written and just try to edit sql lines.
At first install, I wrote :
Mysqlhost : localhost
Mysqldatabase : mlabro (same name than housing)
I am afraid to erase all the job I did with coppermine (themes,albums, categories, permissions,...).
Could you please explain how I can update my account. Is it a install file hidden somewhere I can easily edit ?

Best regards
Marc

Joachim Müller

Edit include/config.inc.php
Has been asked many times over already - please search before posting in the future.

labro

thanks a lot
I am going to try to edit this file with notepad.
Is it a problem I deleted the lock file and run without saving the installation again ?

best regards
marc

Joachim Müller

Re-create the lock file. It's an empty file, just name it "install.lock". The lock file makes sure that nobody can ruin your gallery by running the installer a second time.