CData Python Connector for MySQL

Build 25.0.9454

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.

Data Type

bool

Default Value

false

Remarks

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 connector does not ping the server before performing a request.

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