This function updates one or more parameters for a remote MySQL® profile.
Note:
This function requires the name
parameter and one of more of the mysql_host
, mysql_user
, mysql_pass
, mysql_port
, or setup_via
parameters.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ remote_mysql_update_profile \ name='MyProfile'
{- "data": {
- "profile_details": {
- "active": 0,
- "mysql_host": "192.168.0.1",
- "mysql_pass": "12345luggage",
- "mysql_port": 3306,
- "mysql_user": "username",
- "setup_via": "Main terminal"
}, - "profile_saved": "MyProfile"
}, - "metadata": {
- "command": "remote_mysql_update_profile",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}