问题
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