mysql_change_password
Change a MySQL user password on a 1Panel server by specifying the database, user ID, and new credential. Use it to rotate or reset database credentials securely via MCP.
Instructions
MySQL: Change user password
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": {
"id": "<id>",
"database": "<database>",
"from": "<from>",
"type": "<type>",
"value": "<value>"
},
"name": "mysql_change_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| from | Yes | ||
| type | Yes | ||
| value | Yes | ||
| database | Yes |