My Oracle Support Banner

In-place upgrade of 5.7 to 8.0 failed with [ERROR] [MY-013140] [Server] Specified key was too long when 8.0 was started (Doc ID 2749954.1)

Last updated on MARCH 26, 2021

Applies to:

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

Symptoms

An in-place upgrade of MySQL Server 5.7 to 8.0 failed when 8.0 was started for the first time.

8.0 wrote the following message to the MySQL Server error log:

    [ERROR] [MY-013140] [Server] Specified key was too long; max key length is 255 bytes

Cause

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
Symptoms
Cause
Solution
References


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