how to fix it?
- docker-compose.yml
`
version: ‘3’
services:
db:
image: mariadb:10.11.2
container_name: db
restart: unless-stopped
env_file: .env
environment:
– MYSQL_DATABASE=wordpress
command: [‘mysqld’, ‘–character-set-server=utf8mb4’, ‘–collation-server=utf8mb4_unicode_ci’, ‘–innodb-buffer-pool-size=6710>
volumes:
– ./dbdata:/var/lib/mysql
networks:
– app-network
`
- docker compose logs
db | 2024-08-13 14:26:50+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.2+maria~ubu2204 started. db | 2024-08-13 14:26:51+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' db | 2024-08-13 14:26:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.2+maria~ubu2204 started. db | 2024-08-13 14:26:52+00:00 [Note] [Entrypoint]: MariaDB upgrade not required db | 2024-08-13 14:26:52 0 [Note] Starting MariaDB 10.11.2-MariaDB-1:10.11.2+maria~ubu2204 source revision cafba8761af55ae16cc69c9b53a341340a845b36 as process 1 db | 2024-08-13 14:26:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 db | 2024-08-13 14:26:52 0 [Note] InnoDB: Number of transaction pools: 1 db | 2024-08-13 14:26:52 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions db | 2024-08-13 14:26:52 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) db | 2024-08-13 14:26:52 0 [Note] InnoDB: Initializing buffer pool, total size = 64.000MiB, chunk size = 1.000MiB db | 2024-08-13 14:26:52 0 [Note] InnoDB: Completed initialization of buffer pool db | 2024-08-13 14:26:52 0 [Note] InnoDB: Resetting space id's in the doublewrite buffer db | 2024-08-13 14:26:52 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes) db | 2024-08-13 14:26:52 0 [ERROR] InnoDB: The change buffer is corrupted db | 2024-08-13 14:26:52 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption db | 2024-08-13 14:26:52 0 [Note] InnoDB: Starting shutdown... db | 2024-08-13 14:26:52 0 [ERROR] Plugin 'InnoDB' init function returned error. db | 2024-08-13 14:26:52 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. db | 2024-08-13 14:26:52 0 [Note] Plugin 'FEEDBACK' is disabled. db | 2024-08-13 14:26:52 0 [ERROR] Unknown/unsupported storage engine: InnoDB db | 2024-08-13 14:26:52 0 [ERROR] Aborting db | 2024-08-13 14:26:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.2+maria~ubu2204 started. db | 2024-08-13 14:26:54+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' db | 2024-08-13 14:26:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.2+maria~ubu2204 started. db | 2024-08-13 14:26:55+00:00 [Note] [Entrypoint]: MariaDB upgrade not required db | 2024-08-13 14:26:55 0 [Note] Starting MariaDB 10.11.2-MariaDB-1:10.11.2+maria~ubu2204 source revision cafba8761af55ae16cc69c9b53a341340a845b36 as process 1 db | 2024-08-13 14:26:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 db | 2024-08-13 14:26:55 0 [Note] InnoDB: Number of transaction pools: 1 db | 2024-08-13 14:26:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions db | 2024-08-13 14:26:55 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) db | 2024-08-13 14:26:55 0 [Note] InnoDB: Initializing buffer pool, total size = 64.000MiB, chunk size = 1.000MiB db | 2024-08-13 14:26:55 0 [Note] InnoDB: Completed initialization of buffer pool db | 2024-08-13 14:26:55 0 [Note] InnoDB: Resetting space id's in the doublewrite buffer db | 2024-08-13 14:26:56 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes) db | 2024-08-13 14:26:56 0 [ERROR] InnoDB: The change buffer is corrupted db | 2024-08-13 14:26:56 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption db | 2024-08-13 14:26:56 0 [Note] InnoDB: Starting shutdown... db | 2024-08-13 14:26:56 0 [ERROR] Plugin 'InnoDB' init function returned error. db | 2024-08-13 14:26:56 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. db | 2024-08-13 14:26:56 0 [Note] Plugin 'FEEDBACK' is disabled. db | 2024-08-13 14:26:56 0 [ERROR] Unknown/unsupported storage engine: InnoDB db | 2024-08-13 14:26:56 0 [ERROR] Aborting db | 2024-08-13 14:26:58+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.2+maria~ubu2204 started.
I took the following action as it may be a lack of buffer memory in the inodb due to Googling.
- add
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci', '--innodb-buffer-pool-size=6710>