mysql access denied mysql access denied
 

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

mysql access denied

Started by riffhai, December 14, 2009, 09:20:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

riffhai

hi all
I've seen there are many such issues before - I've read them all. nevertheless I cannot solve my problem.

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'sharkspo'@'localhost' (using password: NO)

I finally found the include/config.inc.php. there I see the correct username and databasename, I also see a password. when checking the cpanel of my host the names are the same, but there is no password. the path is the following

Connection Strings
Perl   $dbh = DBI->connect("DBI:mysql:xxx_cpm1:localhost","xxx_cpm1","<PASSWORD HERE>");
PHP   $dbh=mysql_connect ("localhost", "xxx_cpm1", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("xxx_cpm1");

do I have to change something and if so, where???

Your help would be very much appreciated!
regards riffhai

www.sharkspoint.com/gallery