Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    dla
    dla is offline
    Registered User
    Join Date
    Jul 2009
    Posts
    1

    Question Replace Local with external MySQL server

    Is it posible to replace the local MySQL server for WHM with an external MySQL server running on Windows Server 2008 and keeping the cPanel features?

    Roy

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by dla View Post
    Is it posible to replace the local MySQL server for WHM with an external MySQL server running on Windows Server 2008 and keeping the cPanel features?

    Roy
    If you wish to use the tools built into WHM for setting up a remote MySQL server, that remote server would need to be running Linux.

    However, if you wanted to do everything manually, you may want to refer to the following presentation from our 2008 cPanel Conference:

    http://twiki.cpanel.net/twiki/pub/Al...YSQLServer.pdf

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Question

    Quote Originally Posted by dla View Post
    Is it posible to replace the local MySQL server for WHM with an external MySQL server running on Windows Server 2008 and keeping the cPanel features?

    Roy
    Is it possible .... YES

    You CAN reconfigure Cpanel / WHM to use an external server and you CAN actually
    have that server hosted on a Windows based machine although that requires a little more
    configuring and I would not personally recommend doing either of those things as you will
    see more the reasons as to why I say that further below:

    Running external MySQL databases is poorly advised for normal web site script
    usage and is definitely not recommended especially when talking about
    connecting the server's critical operations such as Cpanel / WHM. This
    goes double when talking about hosting MySQL on a Windows machine
    which is even more prone to stability and reliability issues.

    The Internet is an extremely unstable place. Even assuming the absolute
    best case scenario that your database server machine never goes down
    for any reason ever which is doubtful, you are still talking about taking on
    substantial performance impairments to your Cpanel server just simple
    from the simple act making your database calls remote alone! This comes
    even before you consider netsplits, backbone loading issues, unstable traffic
    and routing problems, lost or intercepted packets (common on the internet)
    of which all can potentially crash your entire server machine in the worst of
    cases and seriously impair your entire server performance in the best of cases.

    Then to complicate matters further, you are talking about not only running MySQL
    remotely but also placing that database server on a Microsoft Windows based server
    which gives you an even greater potential for performance and reliability issues.

    All of this and I haven't even begun to talk about security issues you face making
    that change and that is a whole entire subject in and of itself well beyond the scope
    of what is written here and opens you up to some very potential problems.

    This all goes back to one obvious underlying question ... WHY?

    Why do you want to split your MySQL off to a remote server?

    What is your underlying thinking that you would ask about that?
    Last edited by Spiral; 07-09-2009 at 02:51 AM.

  4. #4
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    552
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Why - well load / i/o

    there are a few reasons to do this -

    For example:

    We have a server and the mysql just cannot run well on it -
    its an I/O issue mainly

    Now - moving mysql off to another system in the network would make a lot of sense - the system would run just mysql -

    Disk I/O on that 15K RPM Raid 10 system would take care of the Disk I/O

Similar Threads & Tags
Similar threads

  1. Domain with external DNS: external MX and local mail problem
    By vapetrov in forum E-mail Discussions
    Replies: 2
    Last Post: 01-14-2011, 08:33 PM
  2. Replies: 13
    Last Post: 06-15-2010, 05:31 PM
  3. Replies: 13
    Last Post: 06-15-2010, 05:31 PM
  4. Replies: 0
    Last Post: 10-26-2009, 10:06 AM
  5. Best way to point a domain to external IP / server, but keep mail local?
    By Metro2 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-12-2009, 01:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube