coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: dalyjgf on July 08, 2009, 08:43:45 PM

Title: Unable to connect to Database
Post by: dalyjgf on July 08, 2009, 08:43:45 PM
High Guys, I know that this is a common one but I am a complete novice at this.

I am trying to connect to my website gallery http://www.tryskirmishing.com/gallery/, but I get the unabkle to connect to database error.  I enabled the debug mode in php and this is the error I get:


UPDATE `trygal`.`cpg140_config` SET `value` = '1' WHERE CONVERT( `cpg140_config`.`name` USING utf8 ) = 'debug_mode' LIMIT 1 ;

Can anybody help?  Many thanks!
Title: Re: Unable to connect to Database
Post by: Nibbler on July 08, 2009, 09:20:55 PM
Verify that the info in include/config.inc.php is correct. If it is contact your host.
Title: Re: Unable to connect to Database
Post by: dalyjgf on July 09, 2009, 01:42:30 AM
Thanks Nibbler, but I really am a complete novice when it comes to any of this!  How do I check the info? Many thanks, Jim
Title: Re: Unable to connect to Database
Post by: Fabricio Ferrero on July 09, 2009, 01:49:12 AM
Open the file that Nibbler pointed with notepad.exe and edit as necesary.