The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Joined:
    Apr 14, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Apr 21, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Balmumcu, Istanbul, TR
    restart mysqld service.
     
Loading...

Share This Page