Skip to main content

Mysql stop working errno 28

My dev mysql service stopped working suddenly ... the logfile shows an error message: 

Disk is full writing './binlog.000558' (OS errno 28 - No space left on device). Waiting for someone to free space... Retry in 60 secs. Message reprinted in 600 secs.

Unfortunately this happend in a vagrant / virtualbox setup and I had problems with the whole server, which could not start or halt with an errormessage which leaded to ntfs or ssh connection errors (No log for this errormessages :(

The solution was:

  1. Shut down the host system.
  2. Go, drink some coffee ...
  3. Start up the host
  4. Start up the vagrant machine
  5. Then login as root in mysql ...

mysql >


mysql -> PURGE BINARY LOGS BEFORE '2023-09-19 22:00:00';

The date value was yesterdays date. At least, this got me to run the vagrant machine again and secure some stuff before I destroyed the whole machine to set it up again.