云数据库 GAUSSDB-修改/关闭M兼容端口:请求示例

时间:2024-12-31 09:12:40

请求示例

  • 修改M兼容端口为3307。
    PUT https://gaussdb-opengauss.cn-north-1.myhuaweicloud.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/1bb786201ae54b179b45c17e0f332f4bin14/mysql-compatibility
    { 
      "port" : "3307"
    }
  • 关闭M兼容端口。
    PUT https://gaussdb-opengauss.cn-north-1.myhuaweicloud.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/1bb786201ae54b179b45c17e0f332f4bin14/mysql-compatibility
    { 
      "port" : "0"
    }
support.huaweicloud.com/api-gaussdb/gaussdb_api_279.html