coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: richie on May 06, 2004, 04:49:04 PM

Title: [Solved]: Newbie advice please
Post by: richie on May 06, 2004, 04:49:04 PM
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??
Title: Re: Newbie advice please
Post by: richie on May 06, 2004, 04:57:18 PM
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
Title: Re: Newbie advice please
Post by: Joachim Müller on May 07, 2004, 08:45:22 AM
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
Title: Re: Newbie advice please
Post by: richie on May 07, 2004, 10:36:46 AM
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.