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 APRIL 18, 2017

Applies to:

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

Symptoms

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

Cause

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