Bug #87702 mysqlbinlogrotate forgets to close the connection, [Note] Aborted connection
Submitted: 8 Sep 2017 8:01
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Utilities Severity:S3 (Non-critical)
Version:1.6.5 OS:Any
Assigned to: CPU Architecture:Any

[8 Sep 2017 8:01] Shane Bester
Description:
mysqlbinlogrotate does not close the connection gracefully, so we get warnings in the server error log:

Version: '5.7.19-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
...
[Note] Aborted connection 4 to db: 'unconnected' user: 'root' host: '' (Got an error reading communication packets)

How to repeat:
mysqlbinlogrotate --server=root:@127.0.0.1:3306 --min-size=1048576