Cannot Connect to the MySQL Server Through the MySQL Enterprise Monitor (MEM) + Error 2013 (HY000): Lost Connection to MySQL Server at 'Reading Initial Communication Packet'; MySQL 5.5.8 to 5.5.9

(Doc ID 1376206.1)

Last updated on APRIL 17, 2017

Applies to:

MySQL Router - Version 0.8 to 0.8 [Release 0.8]
MySQL Enterprise Monitor - Version 2.3 to 2.3 [Release 2.3]
MySQL Server - Version 5.5 to 5.5 [Release 5.5]
Information in this document applies to any platform.


When attempting to connect to MySQL Server version 5.5.8 or 5.5.9 through the MySQL Enterprise Monitor Proxy using version 2.3.6 or later, the following error occurs:

ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0


Reproducing the Issue

The issue can be reproduced at will with the following steps:

  1. Start MySQL
  2. Start the MySQL Enterprise Monitor Agent with the Proxy enabled
  3. Attempt to connect to the server using the MySQL Command Line Client:

    mysql -h -P 6446 --protocol=tcp


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms