share a datebase among 2 or more sites

Discussion in 'Databases' started by lamontgreen, May 25, 2008.

  1. #1
    how do you share username and password on one domain 3 sites one datebase 3 prefixes
     
    lamontgreen, May 25, 2008 IP
  2. ForumJoiner

    ForumJoiner Active Member

    Messages:
    762
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    83
    #2
    Do you mean, 1 server, 3 sites and 3 prefixes? If yes, all scripts use the same username and password. They will read information from the same database. It's the task of the script to read only the tables with the prefixes he knows (the one you set-up when you installed the scripts).
     
    ForumJoiner, May 31, 2008 IP
  3. lamontgreen

    lamontgreen Active Member

    Messages:
    154
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    the prefix and are not same ,the frist one let say is red and #2 say brown and also the table r not one say username and #2 say usr_alias but r in the same datebase
     
    lamontgreen, Jun 13, 2008 IP
  4. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #4
    Lamont,

    You can share a database across multiple applications, etc. You stated that there are three prefixes, so I am going to assume that you entered a different prefix during three separate application installations. Correct? If this is correct, then you should have entered the database connection information too. The host name should point to the same instance and the username and passwords as needed. Also, are the sites on the same host?

    Give me exact details and I will help out.

    Social.Network
     
    Social.Network, Jun 15, 2008 IP
  5. lamontgreen

    lamontgreen Active Member

    Messages:
    154
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #5
    what details do you need
     
    lamontgreen, Jun 15, 2008 IP