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!

Separate 1 server into 2 server (http & web)

Discussion in 'General Discussion' started by expert_15, Aug 18, 2005.

  1. expert_15

    expert_15 Registered

    Apr 14, 2004
    Likes Received:
    Trophy Points:
    Currently I have 1 server hosting a site that handles both http and mysql. I would like to separate them so that 1 server handles http, the other (new server) handles mysql. Both server has cpanel installed.

    Here's what I tried:
    1) Backup database, copy into new (mysql only) server.
    2) Create a same user/pass for db access on the new server.
    3) changes scripts to instead of say 'localhost', say the new mysql server IP

    Apparently after a day of functioning, it just broke down. First there was:

    Now, any pages with mysql use will not load.

    So here I am, asking is there any correct way of doing this via WHM or anything I'm doing wrong?
  2. SubZero

    SubZero Well-Known Member

    Apr 21, 2005
    Likes Received:
    Trophy Points:
    Balmumcu, Istanbul, TR
    restart mysqld service.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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