---
title: "connection_control_failed_connections_threshold - OceanBase 数据库 V4.1.0 | OceanBase 文档中心"
description: "connection_control_failed_connections_threshold connection_control_failed_connections_threshold 用来指定用户错误登录尝试的阀值。 属性 描述 参数类型 整型 默认值 0 取值范围 [0，2147483647] 是否重启 O…"
---
切换语言

- 中文站 - 简体中文
- International - English
- 日本站 - 日本語

文档反馈![](https://mdn.alipayobjects.com/huamei_22khvb/afts/img/A*P8CuR4UJ_FkAAAAAAAAAAAAADiGDAQ/original) OceanBase 数据库分布式版 - V 4.1.0

# connection_control_failed_connections_threshold

更新时间：2023-08-01 11:45:47

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.1.0/zh-CN/700.reference/500.system-reference/100.system-configuration-items/400.tenant-level-configuration-items/500.connection_control_failed_connections_threshold.md)  

`connection_control_failed_connections_threshold` 用来指定用户错误登录尝试的阀值。

| 属性 | 描述 |
| --- | --- |
| 参数类型 | 整型 |
| 默认值 | 0 |
| 取值范围 | [0，2147483647] |
| 是否重启 OBServer 节点生效 | 否 |

将参数设置为 `0` 时，表示关闭该功能，即不限制用户的错误登录次数。当用户错误登录次数超过这个配置项定义的值之后，会对账户进行锁定，锁定的时长由 [connection_control_min_connection_delay](https://www.oceanbase.com/docs/common-oceanbase-database-cn-10000000001700952) 和 [connection_control_max_connection_delay](https://www.oceanbase.com/docs/common-oceanbase-database-cn-10000000001700953) 参数设置。

#### 说明

该配置项当前仅在 MySQL 模式下生效。

  上一篇 下一篇 ![有帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*y6ocSqN8cqsAAAAAAAAAAAAAARQnAQ)![无帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*BG9IQJyLHF8AAAAAAAAAAAAAARQnAQ)![反馈](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*eTWdQKCRKHwAAAAAAAAAAAAAARQnAQ)[AI](https://www.oceanbase.com/obi) 咨询热线
