[Solved]: Newbie advice please [Solved]: Newbie advice please
 

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

[Solved]: Newbie advice please

Started by richie, May 06, 2004, 04:49:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

richie

Hi there, I just downloaded and installed cpg1.2.1 It was running OK from what I could tell as a stand alone gallery but I tried to link it to my phpbb board for login purposes etc. Anyway I now get the error message
Coppermine critical error:
Unable to connect to phpBB Board database !

MySQL said: Access denied for user: 'root@localhost' (Using password: NO)

When I try to access the gallery. I have looked at the phpbb file in the bridge directory and all the data seems to be right, ie local host, username, database name, password etc. The path is also correct to the board so I am at a loss as to what has gone wrong. Can anybody shed any light on the error? I noted it says using password NO, could this be the error??

richie

Thought a copy of the code may be useful that I have entered. I'm pretty useless at code so please point out any errors. My forum is at http:pgacnortheast.co.uk/forum/  If that is of any use to show me the correct path to enter or whatever.
/ Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration
define('PHPBB_DB_NAME', 'phpBB'); // ##dbname##
define('PHPBB_BD_HOST', 'localhost'); // localhost
define('PHPBB_DB_USERNAME', 'root'); // ##uname##
define('PHPBB_DB_PASSWORD', ''); // ###pass###

// The web path to your phpBB directory
// In this example http://www.pgacnortheast.co.uk
define('PHPBB_WEB_PATH', '/forum/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard

Joachim Müller

I guess your mySQL username is not "root" and your password is not empty (hopefully), so it'll help if you fill those vars in.

GauGau

richie

yeah I kind of realised and slapped myself!! Managed to sort it out. Thanks for replying anyway.
Great work though. I'm very impressed with it.