A common dB for phpBB3 and WordPress?

Discussion in 'Databases' started by rsrikanth05, Jan 20, 2009.

  1. #1
    Hey guys, I just wanted to know if it was possible to have a common dB for a phpBB3 forum and a WordPress 2.6 blog?
    Is it possible?
    Also, if it is, is it possible for a blog with a few posts and a forum with a few posts.....?
     
    rsrikanth05, Jan 20, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    You can always use the same database. The easiest way would be to use different prefixes for the tables for each application. EX: phpbb_tablenames and wp_tablenames. These can all be in the same database without any problem. You just need to give both applications access to the same database.

    If you're trying to share tables, it's probably not possible.
     
    jestep, Jan 20, 2009 IP
  3. Ibn Juferi

    Ibn Juferi Prominent Member

    Messages:
    6,221
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    310
    #3
    It is possible and I have seen this done before. However the steps needed to achieve this is quite complicated, you should get someone who knows how to do this and make sure you backup all your data before attempting it.
     
    Ibn Juferi, Jan 20, 2009 IP
  4. rsrikanth05

    rsrikanth05 Well-Known Member

    Messages:
    1,362
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    190
    #4
    Okay, thanks guys, I'll try and ask the support guys at WordPress.
     
    rsrikanth05, Jan 21, 2009 IP
  5. red_mamba

    red_mamba Peon

    Messages:
    63
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    wp automaticaly ads wp_ at the beginig of tables
    and phpbb ads phpbb_

    so you can have both in one db, no problem there
     
    red_mamba, Jan 22, 2009 IP
  6. rsrikanth05

    rsrikanth05 Well-Known Member

    Messages:
    1,362
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    190
    #6
    Yes, but can I have common usernames, cookies, logins et all for both?
     
    rsrikanth05, Jan 22, 2009 IP
  7. red_mamba

    red_mamba Peon

    Messages:
    63
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    no, unless you can find some plug in that combines these 2 portals
     
    red_mamba, Jan 22, 2009 IP
  8. rsrikanth05

    rsrikanth05 Well-Known Member

    Messages:
    1,362
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    190
    #8
    Okay, that's all.
    Thanks a lot guys...
     
    rsrikanth05, Jan 23, 2009 IP
  9. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #9
    ohh!
    You did not ask the correct question I would say!

    If you question is just whether WP's and phpBB's DB tables can be stored in the same database, the answer is yes, by having table prefixes as said earlier.

    But I think you probably meant "integration" of WP and phpBB. Yes, its possible, but would require a lot of hacking. Since both are very popular, someone may already have written a bridge script.
     
    rohan_shenoy, Jan 30, 2009 IP
  10. rsrikanth05

    rsrikanth05 Well-Known Member

    Messages:
    1,362
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    190
    #10
    Thanks a lot, I'll search the mods dBs around for a while, or ask at the support.
     
    rsrikanth05, Feb 4, 2009 IP