Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Using pbpBB2 And Mediawiki Common Database
talktime
post Oct 31 2006, 04:10 PM
Post #1


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 53
Joined: 31-October 06
Member No.: 16,899



I want to host phpbb2 forum and one wiki software (not sure whcih one at this point).
Can someone help me how to use a common or shared database for both these applications?
The user data, login could be common on both databases.
Any inputs are appreciated.
Thanks

Go to the top of the page
 
+Quote Post
vujsa
post Oct 31 2006, 04:43 PM
Post #2


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714



QUOTE(talktime @ Oct 31 2006, 11:10 AM) *

I want to host phpbb2 forum and one wiki software (not sure whcih one at this point).
Can someone help me how to use a common or shared database for both these applications?
The user data, login could be common on both databases.
Any inputs are appreciated.
Thanks

Well, this isn't too hard to do actually. smile.gif
First you'll set up your database as usual.
database: accountname_databasename

Then add a user for this database.
username: accountname_username
password: 1234abcd5678efgh

When you install you phpbb, it will ask you for your database information. More than likely, you'll be using the localhost and where it asks for a database table prefix, there should be a default value filled in already.
phpbb_ is usually the default value for phpbb! If you wanted to use the same database for several phpbb installations, then just modify the prefix accordingly:
phpbb1_
phpbb2_
phpbb3_
etc...

Now this is important to remember since you wiki will probably have it's own default prefix. Lets call that prefix wiki_.
If you has a user table in phpbb it would be called phpbb_user whereas the wiki user table would be wiki_user! This is how you can run multiple applications on the same database without the data getting mixed up!

As for you specific neds, we would need to know what kind of server interface you are using. Different systems allow for different methods of setting up and maintaining databases.

Here at AstaHost, we have the cPanel system and unlimited databases so we can have a different database for each application!

Hope this helps.

vujsa
Go to the top of the page
 
+Quote Post
talktime
post Oct 31 2006, 06:24 PM
Post #3


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 53
Joined: 31-October 06
Member No.: 16,899



QUOTE(vujsa @ Oct 31 2006, 04:43 PM) *

Well, this isn't too hard to do actually. smile.gif
First you'll set up your database as usual.
database: accountname_databasename

Then add a user for this database.
username: accountname_username
password: 1234abcd5678efgh

When you install you phpbb, it will ask you for your database information. More than likely, you'll be using the localhost and where it asks for a database table prefix, there should be a default value filled in already.
phpbb_ is usually the default value for phpbb! If you wanted to use the same database for several phpbb installations, then just modify the prefix accordingly:
phpbb1_
phpbb2_
phpbb3_
etc...

Now this is important to remember since you wiki will probably have it's own default prefix. Lets call that prefix wiki_.
If you has a user table in phpbb it would be called phpbb_user whereas the wiki user table would be wiki_user! This is how you can run multiple applications on the same database without the data getting mixed up!

As for you specific neds, we would need to know what kind of server interface you are using. Different systems allow for different methods of setting up and maintaining databases.

Here at AstaHost, we have the cPanel system and unlimited databases so we can have a different database for each application!

Hope this helps.

vujsa


Thanks for the valuabale information and so promptly.
I am not an expert but I will try the way you told here. Just adding wiki software to the same database with phpbb2. hopefully that will work for me eaisly.
Currently I am uging a host which support single database.
By the way do you have any recommendation for any wiki software? many of them are available free.

Regards

This post has been edited by talktime: Oct 31 2006, 07:07 PM
Go to the top of the page
 
+Quote Post
talktime
post Nov 1 2006, 04:19 PM
Post #4


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 53
Joined: 31-October 06
Member No.: 16,899



Thank you vujsa,
I installed both the applications on a single database and it worked fine. For the mediawiki application I used mw_ prefix for the files.
I will test both the applications for a while to understand how the databases work.
Thanks again for your valuable input.
Best regards.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Understand A Database Schema(4)
  2. Best Database(7)
  3. Mediawiki With Texvc(0)
  4. How To: Connect, Read, Write, Close A Database(4)
  5. Database(7)
  6. Some Useful Database Links.(7)
  7. MySQL Output Database Question(18)
  8. Creating A Game In Rpg Maker 2000/2003(18)
  9. Speeding Up Common Downloads(33)
  10. Common Ftp Server Error Codes(0)
  11. Accessing Ms Access Database From A Centralized Location?(5)
  12. Space Needed For Database(10)
  13. Database Access On Remote Server W/jsp(0)
  14. Mysql Database Entry By Excel Sheets(2)
  15. Make A Wish And It'll Come True...if....(6)
  1. Need Help With A PHP - MySQL Registration Script(13)
  2. Mysql Database Management(1)
  3. phpBB2 vs IPB(44)
  4. Mirror My MySQL Database To Another Mysql Server(4)
  5. Integrate Access Database Onto Intranet Site(5)
  6. Installing Mediawiki?(9)
  7. Database(1)
  8. Connecting To A Remote Database(9)
  9. Permission Problem With Mysql Database Creation(8)
  10. Api And Http Or Database?(0)
  11. How To Backup Your Phpbb2 Forum And Restore It On A Phpbb3 Server.(1)
  12. How To Make A Value In The Database Raise Every Minute.(50)
  13. Is It A Good Practice To Store Image Or Other Binary Files Directly In A Mysql Database(4)
  14. Can't Select Database =?(3)
  15. Need Help In Database Auto_increment(9)


 



- Lo-Fi Version Time is now: 7th October 2008 - 05:43 AM