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.

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:
    1
    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 cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
  3. guilhermejorge

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


    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 cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    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
     
Loading...

Share This Page