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

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

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 1 Guest 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.