$ mv ~/Downloads/init_tables.sql /tmp/d
|
$ podman run --rm --name mariadb1011enginevalidate -e MARIADB_ROOT_PASSWORD=123456 --env MARIADB_USER=test --env MARIADB_PASSWORD=test --env MARIADB_DATABASE=test -v /tmp/d:/docker-entrypoint-initdb.d:Z mariadb:10.11
|
2023-11-20 23:08:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.6+maria~ubu2204 started.
|
2023-11-20 23:08:43+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
|
2023-11-20 23:08:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.6+maria~ubu2204 started.
|
2023-11-20 23:08:43+00:00 [Note] [Entrypoint]: Initializing database files
|
2023-11-20 23:08:43 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required)
|
2023-11-20 23:08:43 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
|
|
|
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
|
To do so, start the server, then issue the following command:
|
|
'/usr/bin/mariadb-secure-installation'
|
|
which will also give you the option of removing the test
|
databases and anonymous user created by default. This is
|
strongly recommended for production servers.
|
|
See the MariaDB Knowledgebase at https://mariadb.com/kb
|
|
Please report any problems at https://mariadb.org/jira
|
|
The latest information about MariaDB is available at https://mariadb.org/.
|
|
Consider joining MariaDB's strong and vibrant community:
|
https://mariadb.org/get-involved/
|
|
2023-11-20 23:08:44+00:00 [Note] [Entrypoint]: Database files initialized
|
2023-11-20 23:08:44+00:00 [Note] [Entrypoint]: Starting temporary server
|
2023-11-20 23:08:44+00:00 [Note] [Entrypoint]: Waiting for server startup
|
2023-11-20 23:08:44 0 [Note] Starting MariaDB 10.11.6-MariaDB-1:10.11.6+maria~ubu2204 source revision fecd78b83785d5ae96f2c6ff340375be803cd299 as process 97
|
2023-11-20 23:08:44 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2023-11-20 23:08:44 0 [Note] InnoDB: Number of transaction pools: 1
|
2023-11-20 23:08:44 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
2023-11-20 23:08:44 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
|
2023-11-20 23:08:44 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required)
|
2023-11-20 23:08:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
|
2023-11-20 23:08:44 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
|
2023-11-20 23:08:44 0 [Note] InnoDB: Completed initialization of buffer pool
|
2023-11-20 23:08:44 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
|
2023-11-20 23:08:44 0 [Note] InnoDB: End of log at LSN=45502
|
2023-11-20 23:08:44 0 [Note] InnoDB: 128 rollback segments are active.
|
2023-11-20 23:08:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
|
2023-11-20 23:08:44 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
|
2023-11-20 23:08:44 0 [Note] InnoDB: log sequence number 45502; transaction id 14
|
2023-11-20 23:08:44 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2023-11-20 23:08:44 0 [Warning] 'user' entry 'root@5062efa52f76' ignored in --skip-name-resolve mode.
|
2023-11-20 23:08:44 0 [Warning] 'proxies_priv' entry '@% root@5062efa52f76' ignored in --skip-name-resolve mode.
|
2023-11-20 23:08:44 0 [Note] mariadbd: ready for connections.
|
Version: '10.11.6-MariaDB-1:10.11.6+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
|
2023-11-20 23:08:45+00:00 [Note] [Entrypoint]: Temporary server started.
|
2023-11-20 23:08:45+00:00 [Note] [Entrypoint]: Creating database test
|
2023-11-20 23:08:45+00:00 [Note] [Entrypoint]: Creating user test
|
2023-11-20 23:08:45+00:00 [Note] [Entrypoint]: Giving user test access to schema test
|
2023-11-20 23:08:45+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
|
|
2023-11-20 23:08:45+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init_tables.sql
|
ERROR 1273 (HY000) at line 1: Unknown collation: 'eucjpms_general_ci'
|
It would seem to me that the maximum allowed value of innodb_buffer_pool_size on 64-bit systems is too large. I believe that the virtual address size on typical AMD64 or ARMv8 implementations is only 48 bits (256 TiB). I do not know of other architectures, such as POWER, s390x or RISC-V.
I think that the buffer pool resizing will have to be refactored as part of
MDEV-29445.