1 database for two purposes

Discussion in 'MySQL' started by taintedxgod, Jun 9, 2010.

  1. #1
    I have been thinking about this situation for a few days now and would like to know what the process is, if there is any difficulty in this or whether I am just overthinking...

    I would like to setup my SQL database so that when a user registers on the forum, they are also automatically registered with my gaming networks game server. Is this simply a matter of pointing the forum table and game server acccount table to the same database? or is there additional steps that would need to be taken? I feel as though I may just be confusing myself with a simple answer.
     
    taintedxgod, Jun 9, 2010 IP
  2. imperialDirectory

    imperialDirectory Peon

    Messages:
    395
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can do that. Two sites can share the same database / table and user can login into both sites using the same user/name password. As long as the game site and the forum site that you have uses same table name / columns, you should be fine
     
    imperialDirectory, Jun 9, 2010 IP
  3. taintedxgod

    taintedxgod Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks alot imperial :) I'll give it a go and see if I have any issues.
     
    taintedxgod, Jun 10, 2010 IP