MySQL/Writing file error (Errcode 28) on creating database

耗尽温柔 提交于 2019-12-11 05:42:10

问题


I have the following error on execute sql file or creating database by entity framework code first approach

Error writing file '.\dbdemo\ads.frm' (Errcode: 28)

On local database server it is working fine and creating database by EF Code First Approach but on my website hosting server facing this problem.I have tried both techniques by executing sql file and creating database EF Code First Approach both failed.

Any idea how to solve this error !


回答1:


Use the perror command:

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

Unless error codes are different on your system, your file system is full.

Refer MySQL Docs.

This blog explains about the error. And this too.

MySQL created a temporary table, using the MyISAM storage engine, and when the disk filled up, MyISAM got an error.

So try clearing the temp folder.



来源:https://stackoverflow.com/questions/11694321/mysql-writing-file-error-errcode-28-on-creating-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!