跳到主要内容
版本:latest

DelMysqlUser

删除 MySQL 服务器上的指定用户。

  • 路由POST /database
  • actionDelMysqlUser

输入参数

参数名称必选类型描述
actionString固定值 DelMysqlUser
sidInteger服务器 ID,0 = 本地
usernameString要删除的用户名
hostString主机,通常 %

示例

POST /database HTTP/1.1
Content-Type: application/x-www-form-urlencoded

action=DelMysqlUser&sid=0&username=bt_tmp_del&host=%25

输出参数

参数名称类型描述
statusBoolean请求结果,true 表示成功
msgString提示信息
{"status": true, "msg": "删除成功"}