This function sets a MySQL® database user's password.
Important:
When you disable the MySQL role and remote MySQL is not already configured, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Mysql \ set_password \ user='dbuser' \ password='12345luggage'
{- "apiversion": 3,
- "func": "set_password",
- "module": "Mysql",
- "result": {
- "data": {
- "failures": [
- {
- "error": "string",
- "host": "string"
}
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}