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

相关推荐
渔舟唱晚@1 小时前
深度解析:Vue.js 性能优化全景指南(从原理到实践)
前端·vue.js·性能优化
小彭努力中1 小时前
13.THREE.HemisphereLight 全面详解(含 Vue Composition 示例)
开发语言·前端·javascript·vue.js·深度学习·数码相机·ecmascript
kooboo china.3 小时前
Tailwind CSS 实战:基于 Kooboo 构建企业官网页面(二)
前端·css·编辑器·html·.net
带娃的IT创业者5 小时前
《Python Web部署应知应会》Flask网站隐藏或改变浏览器URL:从Nginx反向代理到URL重写技术
前端·python·flask
Json____5 小时前
使用vue2 开发一个纯静态的校园二手交易平台-前端项目练习
前端·vue2·前端模板·vue脚手架·校园二手交易平台·项目项目练习
小二·5 小时前
前端技巧——性能优化篇
前端·性能优化
agenIT6 小时前
micro-app前端微服务原理解析
前端·微服务·架构
小宁爱Python6 小时前
深入理解CSS显示模式与盒子模型
前端·css
只可远观6 小时前
Git 忽略文件配置 .gitignore
android·前端·git