Home  >  Article  >  php教程  >  php mysql Errcode: 28 终极解决方法

php mysql Errcode: 28 终极解决方法

WBOY
WBOYOriginal
2016-06-13 12:22:451856browse

perror 28
Error code 28: No space left on device

SQL语句执行错误:SELECT title,gid FROM blog_blog WHERE date Error writing file 'C:\WINDOWS\TEMP\MY9B6F.tmp' (Errcode: 28)

解决方法:

1.释放C:\WINDOWS\TEMP\空间

2.因为原表太大,所以查询时生成的临时表过大,因此出错。
解决办法。重启了mysql,然后加上where分三段查询,避免全表扫描。

测试结果:第一个有用,第二个有道理,没测试过,过了第一个就解决了,第二个以后好好研究下

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn