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!

Use Remote MySQL but keep a slave copy on main cpanel web server.

Discussion in 'Database Discussion' started by NevGibson, Feb 6, 2013.

  1. NevGibson

    NevGibson Registered

    Dec 28, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I currently have 2 cpanel servers: Webster (web), and Databud (mysql), with a fast local connection, so I've used the Remote MySQL feature on Webster, to offload all the database work onto Databud. That is working well.

    What I was hoping to do is also have Webster be a mysql slave for Databud so that in the event that something went wrong on databud I could just switch back to using local mysql on webster. I already have webster's files backed up on databud so the reverse could work to if webster failed. Both servers are powerful enough to handle everything on their own if needed, at least temporarily.

    Has anyone tried this sort of a setup? Is it possible without a ton of work?

    I searched for quite a while and couldn't find anything about it. I tried setting it up myself, but I couldn't do it. I don't know enough about how using Remote MySQL changes things to know if I was going to break stuff. It seemed like I couldn't even access Webster's mysql server, as I was getting auto-forwarded to the one on Databud.

    It seems like this is might be a solution that could be useful for other people, to allow redundancy but still harness the full power of both servers.

    Any thoughts or advice would be appreciated. Thanks!

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