Sharing mySQL Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frank Hagan
    Senior Member
    • Mar 2004
    • 724

    Sharing mySQL Database

    I have a client who wants to have multiple accounts (separate domains) that share a single database for a php app. I haven't tried configuring a php app to connect to another database on the same server; I'm assuming it could work with the proper username and password. Has anyone done this?

    I'm wondering about record locking, etc., and if this will prove to be too complex for our shared environment.
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    You can connect to any database on the server from any account as long as the correct login information is used. Recording locking would be the script's responsibility.

    Comment

    • Frank Hagan
      Senior Member
      • Mar 2004
      • 724

      #3
      Thanks, Andrew. I'll have to find out what script he's planning to use and his anticipated usage.

      Comment

      Working...