Can‘t create thread to handle bootstrap

MySQL在docker里面启动失败

关键性报错Can't create thread to handle bootstrap

root@ubuntu:/data# docker logs 6835ec900d8c
2025-04-30 23:29:43+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.42-1.el9 started.
2025-04-30 23:29:43+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-04-30 23:29:43+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.42-1.el9 started.
2025-04-30 23:29:43+08:00 [Note] [Entrypoint]: Initializing database files
2025-04-30T15:29:43.991981Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2025-04-30T15:29:43.992029Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2025-04-30T15:29:43.992039Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.42) initializing of server in progress as process 79
2025-04-30T15:29:44.004542Z 0 [Warning] [MY-010001] [Server] Can't create thread to handle bootstrap (errno: 1)
2025-04-30T15:29:44.004662Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-04-30T15:29:44.004712Z 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-30T15:29:44.004734Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-04-30T15:29:44.005082Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.42)  MySQL Community Server - GPL.

在这里插入图片描述
参考https://github.com/docker-library/mysql/issues/1058
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

hwg985

祝老板生意兴隆,财源广进

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值