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: Only one database to use?  (Read 5542 times)

0 Members and 1 Guest are viewing this topic.

jenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Only one database to use?
« on: November 16, 2004, 08:31:19 pm »

Beginner here, don't u boys kill me because I may be asking stupid questions.

I use phpBB forum already, and my only database is in use because of it. Now I would like to have Coppermine there too, with same user database. But the manual says I should install it to stand alone first.. No database to do that, am I in trouble? Should I just forget this?

 :-\\
« Last Edit: November 17, 2004, 05:36:26 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Only one database to use?
« Reply #1 on: November 16, 2004, 08:40:11 pm »

You can manually install into the same database; you just need to use a different prefix. The only time you would have an issue with not having an available database is if you are trying to use an autoinstaller like Fantastico.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Only one database to use?
« Reply #2 on: November 17, 2004, 07:18:15 am »

in fact it's even mandatory to have coppermine and your BBS app share the same database. All modern apps that use databases feature a table prefix (coppermine does so, phpbb as well).

Joachim
Logged

jenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Only one database to use?
« Reply #3 on: November 17, 2004, 10:12:54 am »

So I should basically follow the instructions and make the integration right away, and all should go well?

Is there perhaps any walk trough written in this subject already? :P

(I had no problems at all when installing my bbs, and I do work with Internet but I'm no professional in these database issues, so I ask before doing anything very very wrong.)
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Only one database to use?
« Reply #4 on: November 17, 2004, 10:21:14 am »

Actually, you need to make sure they work independently before integrating them. There are instructions in the documentation in the docs folder or in the link at the top of the page.
Logged

jenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Only one database to use?
« Reply #5 on: November 17, 2004, 10:22:43 am »

Actually, you need to make sure they work independently before integrating them.

Can I do that with only one database? Can I test the Coppermine in localhost instead of web?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Only one database to use?
« Reply #6 on: November 17, 2004, 10:30:42 am »

Wether you run coppermine as standalone or bridged, the database remains the same.  So just install coppermine using your existing database, but when the install asks you for the table prefix, use the default setting, do not change it to the prefix of your phpbb.

Then test coppermine is working.  When it is, that's when you do the integration, with no need to touch the database again.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Only one database to use?
« Reply #7 on: November 17, 2004, 10:33:09 am »

Yes, to both. Check out http://phperl2.sourceforge.net/ if you do not yet apache/mysql/php on your computer.

and if you use separate databases in the beginning, it will be a pain to integrate the databases.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Only one database to use?
« Reply #8 on: November 17, 2004, 10:36:18 am »

testing coppermine on your localhost will not garauntee that it will work on your web host.  I suggest you test it on the same server your bb is on.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

jenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Only one database to use?
« Reply #9 on: November 17, 2004, 10:35:39 am »

OK, we'll se what happens. I'll come back and tell how it went. Thank you guys.
Logged

jenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Only one database to use?
« Reply #10 on: November 17, 2004, 01:01:08 pm »

OK, I installed Coppermine, and no errors while using it. Then I made the integration things showed in manual. And it seems to be working, although I'm not sure. No errors anywhere though.

http://www.punainenlanka.net/kera (phpBB)
http://www.punainenlanka.net/galleria (coppermine)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Only one database to use?
« Reply #11 on: November 17, 2004, 04:55:12 pm »

Glad it worked for you.

ps, and TranZ is not a guy, she's a doll  ;)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

jenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Only one database to use?
« Reply #12 on: November 17, 2004, 06:01:38 pm »

ps, and TranZ is not a guy, she's a doll  ;)

Slightly offtopic then, but sorry TranZ. I'm always calling both genders guys :P Even in my native tongue.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Only one database to use?
« Reply #13 on: November 17, 2004, 06:40:54 pm »

That's OK... life in a male-dominated field. ;) And a few months ago, everyone on the team would have been guys.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 16 queries.