Skip to content

[Bug]: mysql container Unable to startΒ #10184

@livk-cloud

Description

@livk-cloud

Module

MySQL

Testcontainers version

1.20.6

Using the latest Testcontainers version?

Yes

Host OS

windows

Host Arch

x64

Docker version

Docker Desktop 4.40.0

What happened?

mysql image 9.3 Unable to start

Some system variables have been removed

Relevant log output

2025-04-16 03:24:01+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.3.0-1.el9 started.
2025-04-16 03:24:01+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-04-16 03:24:01+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.3.0-1.el9 started.
2025-04-16 03:24:01+00:00 [Note] [Entrypoint]: Initializing database files
2025-04-16T03:24:01.645593Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2025-04-16T03:24:01.647250Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 9.3.0) initializing of server in progress as process 80
2025-04-16T03:24:01.658413Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-04-16T03:24:02.021826Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-04-16T03:24:03.598949Z 0 [ERROR] [MY-000067] [Server] unknown variable 'innodb_log_file_size=5M'.
2025-04-16T03:24:03.599347Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2025-04-16T03:24:03.599372Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-04-16T03:24:05.875236Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions