Mysql
Remote Databases
Enable remote MySQL host access
This function authorizes a remote MySQL® host to access the account's databases.
Important:
When you disable the MySQL role and remote MySQL is not already configured, the system disables this function.
get/Mysql/add_host
Query parameters
Example:192.168.1.6
The remote MySQL server's hostname or IP address.
You may use the following IP address formats:
- 192.168.1.6 — IP address.
- 192.168.%.% — Range with the percent (%) symbol as a wildcard.
- 192.168.0.0/16 — Range in CIDR format.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "add_host",
"module": "Mysql",
"result": {
"status": 1
}
}