---
title: github-fill
description: "connect_timeout connect_timeout 用于设置连接超时时间，单位为秒。 属性 描述 参数类型 int 默认值 10 取值范围 [2, 31536000] 生效范围 Global"
---
切换语言

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

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

# connect_timeout

更新时间：2026-04-16 00:11:37

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.2.1/zh-CN/700.reference/800.configuration-items-and-system-variables/200.system-variable/300.global-system-variable/1900.connect_timeout-global.md)  

`connect_timeout` 用于设置连接超时时间，单位为秒。

| **属性** | **描述** |
| --- | --- |
| 参数类型 | int |
| 默认值 | 10 |
| 取值范围 | [2, 31536000] |
| 生效范围 | Global |

 上一篇 下一篇 ![有帮助](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) 咨询热线
