This function creates a profile to access a remote MySQL® server.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ remote_mysql_create_profile \ name='MyProfile' \ mysql_host='192.168.0.1' \ mysql_user='username' \ mysql_pass='12345luggage' \ mysql_port='3306'
{- "data": {
- "profile_details": {
- "active": 0,
- "cpcloud": 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_create_profile",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}