Bug #71820 Keepalive is in milliseconds, not seconds!
Submitted: 24 Feb 2014 16:49 Modified: 1 May 2014 20:17
Reporter: J Faber Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Documentation Severity:S3 (Non-critical)
Version: OS:Windows (many different versions)
Assigned to: CPU Architecture:Any
Tags: TCP keepalive

[24 Feb 2014 16:49] J Faber
Description:
The TCP KeepAlive setting is specified in milliseconds!! NOT in seconds as this manual incorrectly states.

I just double checked using Wireshark.

How to repeat:
1) On the MySQL server: start wireshark and have it capturing for port 3306.
2) On a client (different PC) start a test app that connects to MySQL with KeepAlive set to 60, 
3) Observe a flood of Keepalive packets in Wireshark.

Suggested fix:
Change documentation.
[13 Mar 2014 11:10] Michiel Hazelhof
Duplicate of bug 69484
[1 May 2014 20:19] Philip Olson
Note: As per MySQL Bug #69484, Connector/Net was updated to behave as the documentation states, which is to treat the value as seconds.