MySQL 无法启动 Error number 28 means 'No space left on device'


报错内容
InnoDB: Write to file ./ib_logfile1failed at offset 1333788672, 1048576 bytes should have been written, only 786432 were written. Operating system error number 28. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
InnoDB: Error number 28 means 'No space left on device'
[ERROR] InnoDB: Cannot set log file ./ib_logfile1 to size 2048 MB
[ERROR] InnoDB: Plugin initialization aborted with error Generic error
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Failed to initialize builtin plugins.
[ERROR] Aborting

原因

硬盘空间不足

解决方式

清理硬盘空间重新启动 MySQL 服务即可

相关