GetValidatePasswordConfig / GetLoginFailed
获取 MySQL 的安全相关配置。
- 路由:
POST /database
GetValidatePasswordConfig
获取密码验证策略(validate_password 插件状态)。
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 GetValidatePasswordConfig |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| status | String | "on" = 已开启密码验证,"off" = 未开启 |
{"status": "off"}
GetLoginFailed
获取登录失败处理配置(connection_control 插件状态)。
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 GetLoginFailed |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| status | String | "on" = 已开启,"off" = 未开启 |
相关接口
- GetTimeOut — 超时配置
- SetTimeOut — 设置超时