Shared databases for two forums?

Discussion in 'MySQL' started by starsi, Nov 21, 2008.

  1. #1
    Hi,

    I was just wondering, with so many scripts out there like forums, membership sites, how can you integrate all of them?

    Say I want to install a forum and a picture sharing script into a site, how do you make it so that the user doesn't have to register twice?

    Would having the same MySQL database solve the problem?
     
    starsi, Nov 21, 2008 IP
  2. cipals15

    cipals15 Well-Known Member

    Messages:
    1,085
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    100
    #2
    Just add another table in your database. You can access 2 tables in MySQL and use both to gather information.
     
    cipals15, Nov 22, 2008 IP
  3. starsi

    starsi Peon

    Messages:
    84
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have almost zero knowledge on making tables on MySQL. What are the steps to create the extra table?





    +======
    http://www.h8j.net
     
    starsi, Nov 22, 2008 IP
  4. Aquarezz

    Aquarezz Notable Member

    Messages:
    3,009
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    225
    #4
    Well, you got the image upload script and the forum script already?
    Just import the SQL from these 2 scripts into phpMyAdmin if that is done, some more info will be given by me or others :)
    Normally it should work

    Greetz
     
    Aquarezz, Nov 22, 2008 IP
  5. cipals15

    cipals15 Well-Known Member

    Messages:
    1,085
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    100
    #5
    Better study more about database to further enhance and protect information. Some automated database management systems are very vulnerable to hackers.
     
    cipals15, Nov 22, 2008 IP
  6. starsi

    starsi Peon

    Messages:
    84
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In the scenario where there is no database yet for both and you have to create the database/s on MySQL, do you just add db_username and db_dbname on both? Or if to add the table, how do you do that, what are the steps, assuming no table is yet created for both?
     
    starsi, Nov 22, 2008 IP