"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Why Am I Getting "Error writing file '/tmp/MY1fnqpm' (Errcode: 28)" in MySQL?

Why Am I Getting "Error writing file '/tmp/MY1fnqpm' (Errcode: 28)" in MySQL?

Published on 2024-11-18
Browse:612

Why Am I Getting

MySQL File Writing Error (Errcode 28): Diagnosis and Resolution

When encountering the error "Error writing file '/tmp/MY1fnqpm' (Errcode: 28)" in a MySQL query, the root cause often lies in inadequate available disk space. To confirm this, utilize the perror command:

$ perror 28
OS error code  28:  No space left on device

If the output matches the above, it indicates that the file system partition hosting the temporary files created by MySQL has run out of storage capacity. To rectify this issue, clear space on the betreffenden partition by removing unnecessary files or expanding the partition size, if possible.

Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3