coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: BellaVitax on March 30, 2007, 04:44:36 PM

Title: Coppermine critical error: Unable to connect to database!
Post by: BellaVitax on March 30, 2007, 04:44:36 PM
I'm getting this error when I access my gallery.

MySQL said: Access denied for user 'jesseuk_copp1'@'localhost' (using password: YES)

I've read that you should edit something in config.inc.php but I don't have that anywhere in my folder where all the gallery files are listed. I only have config.php.
Title: Re: Coppermine critical error: Unable to connect to database!
Post by: Tranz on March 30, 2007, 04:49:07 PM
config.inc.php is in the include folder.
Title: Re: Coppermine critical error: Unable to connect to database!
Post by: BellaVitax on April 14, 2007, 01:36:42 PM
Thanks.

This is what I have:

<?php

    define ( 'SILLY_SAFE_MODE' , 1 ) ;

    $CONFIG['dbserver'] = 'localhost' ;
    $CONFIG['dbuser'] = 'jesseuk_copp1';
    $CONFIG['dbpass'] = '' ;
    $CONFIG['dbname'] = 'jesseuk_copp1'   ;

    $CONFIG['TABLE_PREFIX'] = 'cpg_' ;
   
?>


there was something written in the dbpass bit but I deleted it. It wasn't my password that I use.