My Oracle Support Banner

[ERROR] mysqld: Incorrect key file for table '/tmp/#sql_XXX_X.MYI'; try to repair it (Doc ID 1530682.1)

Last updated on APRIL 27, 2023

Applies to:

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


We occasionally see these types of errors in our MySQL error log:

What would cause this, and how can we prevent it?


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.