MySQL/Writing file error (Errcode 28)

Better Stack Team
Updated on November 23, 2022

If you have received an MySQL error with the error code and don’t know what the code means, you can use the perror command to display the text explanation of the error code.

perror 28

OS error code  28:  No space left on device

In this case, there is no free space on the device, therefore MySQL server wasn’t able to write data on the disk.

Got an article suggestion? Let us know
Explore more
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

We are hiring.

Software is our way of making the world a tiny bit better. We build tools for the makers of tomorrow.

Explore all positions →