The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Shared MySQL databases and php files for several CPanel accounts

Discussion in 'General Discussion' started by mikityuk, Sep 13, 2007.

  1. mikityuk

    mikityuk Registered

    Joined:
    Sep 13, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

    My client is moving his sites from one host (VDS) to another (CPanel based). The problem is that all sites (5+) use (a) two shared mySQL databases (b) common include files.

    And I don't have an idea what's the best way to move such a structure on CPanel. Is there any posibilities to have shared files/DBs for different CPanel accounts? Or maybe there is some better solution.

    Thank you!
     
  2. nottheusual1

    nottheusual1 Active Member

    Joined:
    Jul 13, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    The "sharing" of a database is a function of the application(s) that is/are accessing the data - each ap will need the new path/login/db info for the new server.

    Don't confuse what an "account" does with what goes on outside of Cpanel/WHM.

    With a correct configuration string, any Web site can have access to any MySQL database on any server (ok - oversimplified a bit, but basically true).

    We've done the same thing before, too - it just requires a bit of planning and forethought - and it can be done.

    AS for the includes, i'd need some more info as to exactly what they are. Includes can be called from anywhere - take a look at how they are being called, now, and test that method on the new server.

    Best advise is to do all this testing/config'ing well ahead of time. Heard too many times of domain transfers from hell that were a result of poor planning/testing.
     
Loading...

Share This Page