---
title: "Unexpected eof found when reading file '/home/tmp/MYvFQFtT' (Errcode: 0) "
author: "chakey"
date: "2010-11-09T00:08:07Z"
tags: ["MySQL", "SQL"]
categories: ["数据库"]
slug: "unexpected-eof-found-when-reading-file-home-tmp-myvfqftt-errcode-0"
draft: false
lastmod: "2010-11-09T00:09:41Z"
id: 806140
url: "https://datalife.iteye.com/blog/806140"
---

执行sql语句时,出现如下错误信息:  
Unexpected eof found when reading file '/home/tmp/MYvFQFtT' (Errcode: 0)  
查看mysql日志  
cat /var/log/mysqld.log | grep 100916  
发现:  
错误信息为: \[ERROR] /usr/libexec/mysqld: Sort aborted  
解决办法：  
cat /etc/my.cnf | grep sort\_buffer\_size  
vi /etc/my.cnf  
将sort\_buffer\_size 改的小一些 问题就解决了