coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: gookie on July 07, 2005, 06:23:55 PM

Title: bridged phpBB using a different/new DB user: any conflicts?
Post by: gookie on July 07, 2005, 06:23:55 PM
Hi!

on bridge/phpbb.inc.php, instead of putting the same DB user of phpBB, i had to create a new one (under the same DB of phpBB with same privilege) because I can't remember the password of the current user (or no recollection at all since both CPG and phpBB were automatically installed via fantastico).

It's all working fine so far, the board and the gallery are well integrated. I'm just quite worried if there will be any future problems that may arise under this kind of setup?  ???

Also, isnt it, by getting the http://www.mysite.com/gallery/bridge/phpbb.inc.php - wouldn't it compromise my password and other DB data? I tried retrieving it myself and i dont see the raw .php content. hehe Obviously, I'm just a paranoid newbie. Enlighten me! hehe

TIA for your input  ;D

EDIT: just realised this topic shouldnt go here. Sorry MODs, please move accordingly, thx!
Title: Re: bridged phpBB using a different/new DB user: any conflicts?
Post by: Nibbler on July 07, 2005, 07:06:09 PM
If you are using the same database and the same servername then your gallery will not be using the db user you put into the file, it will use the original coppermine user. You can't see php files directly with a browser, just their output.
Title: Re: bridged phpBB using a different/new DB user: any conflicts?
Post by: gookie on July 07, 2005, 08:13:14 PM
here's how it looks in Cpanel MySQL Account Maintenance:

mysite__copp1
Users in copp1
mysite_copp1 (Privileges: ALL PRIVILEGES) <- created automatically by fantastico

mysite__phpb1
Users in phpb1
mysite_phpb1 (Privileges: ALL PRIVILEGES) <- created automatically by fantastico
mysite_phpb2 (Privileges: ALL PRIVILEGES) <- manually added

Following the manual, i was supposed to put on bridge/phpbb.inc.php the mysite_phpb1 user but I cant remember its password. So I created a new user mysite_phpb2 and used that instead.

I just want a confirmation of some sort that I wont be having issues in the long run coz as it looks, the board and gallery are functioning very well. Heheh. thanks alot!

oh btw, how can one know the password of a fantastico-created DB user? I tried using the admin password of the board the time I installed it, even my cpanel password, but none of them works.

and thanks for clearing the php n00b paranoiah. hehe.

;D ;D ;D

Title: Re: bridged phpBB using a different/new DB user: any conflicts?
Post by: Nibbler on July 07, 2005, 08:24:50 PM
It's randomly generated. It's stored in phpbb's config file (whatever that's called).