Results 1 to 3 of 3

Thread: Sharing mySQL Database

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Location
    California
    Posts
    724

    Default 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.

  2. #2
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,641

    Default

    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.

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Location
    California
    Posts
    724

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •