Databases
Remote MySQL Databases

Return remote MySQL profile

This function displays the details of a specified remote MySQL® profile.

get/remote_mysql_read_profile

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

namestring required
Example:MyProfile

The MySQL profile's name.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "profile_details": {
      "mysql_host": "192.168.0.1",
      "mysql_pass": "123456luggage",
      "mysql_port": 3306,
      "mysql_user": "username",
      "setup_via": "Main terminal"
    },
    "profile_name": "MyProfile"
  },
  "metadata": {
    "command": "remote_mysql_read_profile",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.