CData Python Connector for MySQL

Build 25.0.9440

EnsureKeepAlive

Setting this property to 'true' means that provider pings the server before performing a request, so the driver knows if the connection has been dropped since the last request.

データ型

bool

デフォルト値

false

解説

EnsureKeepAlive=true improves error reporting. The user receives a clean error message for connection drops instead of ambiguous socket errors or timeouts that happen later in the process.

The default value is 'false': the 本製品 does not ping the server before performing a request.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440