Skip to main content

Add Remote MySQL Server via SSH

Comments

7 comments

  • Infopro
    The docs may be of some use to you:
    0
  • rajendra singh
    sorry, not able to find path of remote mysql.
    0
  • Infopro
    What is it you're trying to do exactly that your asking for a path? Maybe that information will be useful here. The documentation I've linked you to, contains this section:
    0
  • rajendra singh
    well, i have mysql database, and i wanna access it outside from that server. for this i have to set a host ip of another server in remote my sql section of that database. i used to do it via cpanel. now i wanna do the same from ssh, thatswhy i need to have path so that i can go there and add that host ip there.
    0
  • cPanelMichael
    Hello :) You can use the Mysql::add_host UAPI function in a custom script via the command line. This function is documented at:
    0
  • rajendra singh
    is it possible to without use of Mysql::add_host UAPI function?
    0
  • cPanelMichael
    is it possible to without use of Mysql::add_host UAPI function?

    It's the only supported method of using this option outside of cPanel. Thank you.
    0

Please sign in to leave a comment.