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!

WHM plugin to restart remote mysql

Discussion in 'cPanel Developers' started by guilhermejorge, Jul 29, 2009.

  1. guilhermejorge

    Joined:
    Jul 16, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    Hello all,

    I'm starting to develop a WHM plugin to restart remote mysql service, when using remote MySQL.
    I'm new in cPanel and I want to know what the best way to do remote calls? SSH, webservices?

    For example, in cPanel DNS ONLY which way is used to add new entries to named.conf?

    Regards,

    Guilherme
     
    #1 guilhermejorge, Jul 29, 2009
    Last edited: Jul 29, 2009
  2. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. guilhermejorge

    Joined:
    Jul 16, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51


    Hello,

    I want to restart mysql service in a REMOTE host, that doesnt have cPanel installed, so I cannot use XMLAPI, right?

    Regards,

    Guilherme
     
  4. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    OH.

    SSH would be your weapon of choice then, we really don't have any functionality that can assist you in this.

    If you are writing this in perl, I would advise checking out the Net::OpenSSH module or the IPC::Session module
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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