Can‘t create thread to handle bootstrap

MySQL在docker里面启动失败

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

bash 复制代码
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

相关推荐
kyriewen3 小时前
编辑弹窗点了取消,列表里的数据怎么还是变了?
前端·javascript·人工智能
Karl_fang3 小时前
🥳 再也不用拿起手机抄验证码!我做了一个 Android → Mac 的「验证码接力」工具
前端·macos·ai编程
谭光志4 小时前
如何让 AI 高效工作
前端·后端·ai编程
FRing035 小时前
vue2干货总结11(短信验证、登录功能、统一处理错误(响应拦截器)、将token信息存入vuex、vuex持久化处理)
开发语言·前端·javascript·vue.js·vue2
泯泷5 小时前
改一个字,整段都红了?——中文内容差异对比的算法与协议设计
前端·javascript·typescript
再吃一根胡萝卜5 小时前
DSH plugin 开发示例:五种插件形态完整代码整理
前端
Yk酱228406 小时前
A2UI随笔-demo-01
前端
云起SAAS6 小时前
本地生活同城多商户商城系统源码源码 合伙人分红加区域代理加排队返现
前端·javascript·后端
奶油话梅糖6 小时前
3 天 1,705 Star:DeepSeek 开源官方聊天前端——零后端纯静态,浏览器直连 API
前端·开源
Linye6 小时前
HTML 流程图连线交叉看不清?聊聊画布避障折线与跳弧实现
前端·人工智能