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: [Solved]: Newbie advice please  (Read 2512 times)

0 Members and 1 Guest are viewing this topic.

richie

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
[Solved]: Newbie advice please
« 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??
« Last Edit: May 07, 2004, 10:55:52 am by GauGau »
Logged

richie

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Newbie advice please
« Reply #1 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Newbie advice please
« Reply #2 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
Logged

richie

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Newbie advice please
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 18 queries.