#1 (permalink)  
Old 07-08-2009, 04:55 AM
dla dla is offline
Registered User
 
Join Date: Jul 2009
Posts: 1
dla is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2009, 11:40 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
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
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-09-2009, 01:37 AM
Senior Member
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,621
Spiral is on a distinguished road
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 01:51 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-15-2009, 11:59 PM
hostmedic's Avatar
Registered User
 
Join Date: Apr 2003
Location: Washington Court House, Ohio
Posts: 518
hostmedic is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to point a domain to external IP / server, but keep mail local? Metro2 cPanel and WHM Discussions 10 09-12-2009 12:39 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) neomas cPanel and WHM Discussions 12 06-21-2008 12:30 PM
Is it possible to have external MySQL server linked to cPanel server? bcsparks cPanel and WHM Discussions 2 08-06-2007 05:57 PM
Mysql fails with Can't connect to local MySQL server through socket '/var/lib/mysql/m noimad1 cPanel and WHM Discussions 1 04-21-2007 01:23 AM
Fix: Can't connect to local MySQL server through socket'/var/lib/mysql/mysql.sock'(2) Outofmymindyo cPanel and WHM Discussions 0 06-27-2004 02:53 AM


All times are GMT -5. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc