Advanced search  

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]

Pages: [1]   Go Down

Author Topic: mysql access denied  (Read 2984 times)

0 Members and 1 Guest are viewing this topic.

riffhai

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
mysql access denied
« on: December 14, 2009, 09:20:32 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.