当前位置: 首页 > news >正文

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
在这里插入图片描述

相关文章:

  • 排序算法——选择排序
  • Vue3 后台管理系统模板
  • 解决STM32待机模式无法下载程序问题的深度探讨
  • transformer-实现解码器Decoder
  • 【Vue2】4-开发者工具安装
  • Splunk 使用Role 实现数据隔离
  • C++23 std::invoke_r:调用可调用 (Callable) 对象 (P2136R3)
  • 基于Qt开发的前景分析
  • 楼宇智能化四章【期末复习】
  • Windows服务器部署全攻略:Flask+Vue+MySQL跨平台项目实战(pymysql版)
  • 乐西高速大凉山1号隧道实现双幅贯通:成都到昭觉9小时变3.5小时
  • C#扩展方法与Lambda表达式基本用法
  • 大模型——使用 StarRocks 作为向量数据库
  • 2025年“深圳杯”数学建模挑战赛C题-分布式能源接入配电网的风险分析
  • 抓取工具Charles配置教程(mac电脑+ios手机)
  • 【C++11】包装器:function 和 bind
  • C++语法系列之前言
  • Github 2025-04-30 C开源项目日报 Top10
  • halcon关闭图形窗口
  • 「Unity3D」TextMeshPro使用TMP_InputField实现,输入框高度自动扩展与收缩
  • 200枚篆刻聚焦北京中轴线,“印记”申遗往事
  • 外媒称菲方允许菲官员窜台,国台办:应停止在台湾问题上玩火
  • 普京与卢卡申科举行会晤,将扩大在飞机制造等领域合作
  • 外交部亚洲司司长刘劲松向菲方严肃交涉
  • 我国首部《人工智能气象应用服务办法》今天发布
  • 药明康德一季度净利增长89%,在手订单增超四成至523亿元