Caution: This is just a fun post.
I was performing some testing on Windows the other day and encountered the following error in the error log:
130313 9:40:03 [ERROR] Error writing file 'G:\mysql\log.txt' (errno: 28)
Quickly, I ran “perror 28″ from the command line:
c:\>perror 28 Win32 error code 28: The printer is out of paper.
Hehe, really, Windows?!?
In fact, the drive was out of space. No more could be written to the general log, hence the error.
Fwiw, the Linux OS code 28 reports what you would expect:
OS error code 28: No space left on device
So, if you ever run into “The printer is out of paper” error, you’ll know what to do.
Tags: errno: 28, error code 28, error writing file, ERROR_OUT_OF_PAPER, fill up mysql log, MySQL Windows, perror 28, The printer is out of paper, what happens when mysql log is full

try perror.exe 4006
Wlad, LOL!
“Win32 error code 4006: Replication with a nonconfigured partner is not allowed.”
Thanks
what version of perror are you using that only gives the Win32 OS code?
D:\mysql-5.1.68-winx64\bin>perror 28
OS error code 28: No space left on device
Win32 error code 28: The printer is out of paper.
D:\mysql-pro-gpl-4.1.25-win32\bin>perror 28
OS error code 28: No space left on device
D:\mysql-5.6.10-win32\bin>perror 28
OS error code 28: No space left on device
Win32 error code 28: The printer is out of paper.
Hey Shane
I see exactly what you see (from your Win 5.1 & 5.6). The full output is:
c:\>perror 28
Win32 error code 28: The printer is out of paper.
OS error code 28: No space left on device
I just separated them above for the purpose of the “fun” post.
Thanks for checking though. I know you’re always on the hunt for any and all possible bugs.