はじめに
ちょいちょい出くわすエラーですね。
エラー内容
mysql-1 | 2023-12-17T13:42:20.987437Z 0 [ERROR] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
mysql-1 | 2023-12-17T13:42:20.988919Z 0 [Warning] InnoDB: Linux Native AIO disabled.
mysql-1 | 2023-12-17T13:42:21.066443Z 0 [Warning] InnoDB: Retry attempts for writing partial data failed.
mysql-1 | 2023-12-17T13:42:21.066850Z 0 [ERROR] InnoDB: Write to file ./ibdata1 failed at offset 0, 1048576 bytes should have been written, only 0 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.
mysql-1 | 2023-12-17T13:42:21.067371Z 0 [ERROR] InnoDB: Error number 28 means 'No space left on device'
mysql-1 | 2023-12-17T13:42:21.067590Z 0 [ERROR] InnoDB: Could not set the file size of './ibdata1'. Probably out of disk space
mysql-1 | 2023-12-17T13:42:21.067748Z 0 [ERROR] InnoDB: InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
mysql-1 | 2023-12-17T13:42:21.380194Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
mysql-1 | 2023-12-17T13:42:21.380569Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mysql-1 | 2023-12-17T13:42:21.380728Z 0 [ERROR] Failed to initialize builtin plugins.
mysql-1 | 2023-12-17T13:42:21.380862Z 0 [ERROR] Aborting
解決方法
[ERROR] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
これには…こう!
docker-compose.ymlに platform: linux/x86_64
を追加!
No space left on device
これには…こう!
dockerのお掃除「$ docker system prune -a –volumes」
おわりに
何もしてないのに動かなくなった、なんてこたぁ殆どない
コメント