命令形式修改 TDSQL 修改tdsql 密码
curl -l -H "Content-type: application/json" -X POST -d '{
"version" : "1.0", "caller" : "DES", "password" : "DES", "callee" : "TDSQL", "eventId" : 101, "timestamp" : 1435749309,
"interface" :
{
"interfaceName" : "TDSQL.ResetPwd",
"para" :
{
"id": "set_1635384917_46", -------------set 名称
"user":"test002", ----------用户
"host":"%",
"pwd":"test002", -----------密码
"encrypt":true
}
}
}' '172.30.0.3:8080/tdsql' -------------oss ip