coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: labro on January 23, 2008, 06:33:21 AM

Title: how can I update install for new sql host
Post by: labro on January 23, 2008, 06:33:21 AM
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
Title: Re: how can I update install for new sql host
Post by: Joachim Müller on January 23, 2008, 07:37:50 AM
Edit include/config.inc.php
Has been asked many times over already - please search before posting in the future.
Title: Re: how can I update install for new sql host
Post by: labro on January 23, 2008, 09:48:37 AM
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
Title: Re: how can I update install for new sql host
Post by: Joachim Müller on January 23, 2008, 09:51:06 AM
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.