Read a MySQL application user
mysql_user_getInspect a MySQL application account to retrieve its host, connection limits, lock status, password retention and proxy routing. Use the account name from mysql_users_list; missing accounts return 404.
Instructions
Read a MySQL application user
Returns account attributes including host, maxUserConnections, locked, passwordRetained and routableThroughProxy, never password material. Select name from mysql_users_list; an absent account returns 404.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster": "<cluster>",
"user": "<user>"
},
"name": "mysql_user_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Application account name matching [A-Za-z_][A-Za-z0-9_]{0,31}, without a host suffix; use name from mysql_users_list. | |
| cluster | Yes | Managed cluster name; the RBAC object is namespace/cluster. | |
| namespace | No | Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| name | Yes | ||
| locked | Yes | ||
| operationId | No | ||
| passwordRetained | Yes | ||
| maxUserConnections | Yes | ||
| routableThroughProxy | Yes |