This function changes a MySQL® database user's password.
Important:
When you disable the MySQL/MariaDB role and remote MySQL is not already configured, the system disables this function.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ set_mysql_password \ user='username' \ password='123456luggage'
{- "metadata": {
- "command": "set_mysql_password",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}