My Oracle Support Banner

MySQL Workbench - Long Running Operations Cause An Error And Disconnect - "Error Code: 2013. Lost connection to MySQL server during query" (Doc ID 2021921.1)

Last updated on MARCH 02, 2020

Applies to:

MySQL Workbench - Version 6.3 and later
Information in this document applies to any platform.


When attempting to ALTER a large table (~90GB) in Workbench, the following error occurs:

Operation failed: There was an error while applying the SQL script to the database.
ERROR 2013: Lost connection to MySQL server during query


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.