My Oracle Support Banner

SQL Queries Hangs When They Are More Than Around 1375 Bytes; MTU; ERROR 2013 (HY000): Lost Connection to MySQL Server During Query (Doc ID 2049367.1)

Last updated on MARCH 26, 2020

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.


When attempting to execute a query longer than around 1375 bytes by connecting to MySQL using TCP on a host name or IP address other than localhost or, the query freezes and/or returns the following error.



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.