Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can I link 2 cpanel servers to have a single mysql database server ?

Discussion in 'Database Discussion' started by a24uall, Aug 3, 2012.

  1. a24uall

    a24uall Active Member

    Joined:
    Feb 4, 2010
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    India
    Can I link 2 cpanel servers to have a single mysql database server ?

    Server 1 ---- server 2
    |
    |
    server 3 (MySQL)

    I am a bit concerned because this might lead to overwriting the cpanel used database of one server with other.
    Has some1 tried this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    Sure you can do this, the only issue that may come up is one user can't create a database or user of the same name. So high demand db names like sales, database and wordpress may require users to pick another name (not always a bad thing).

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    I'd also suggest changing Roundcube to SQLite if you are going to do this option. Also, either disabling Horde or possibly having it run locally. The biggest reason is that two servers write to the same Roundcube and/or Horde database will create duplicate user and row lines, because each individual server would have initially had Roundcube and Horde using the same row lines for the tables, so you'll have duplicate lines with different users.

    Eximstats, cphulkd, and others could have the same issue. You'll have to keep this in mind for all of the cPanel services databases.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice