当前位置: 首页 > 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
在这里插入图片描述

http://www.dtcms.com/a/165153.html

相关文章:

  • 排序算法——选择排序
  • 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实现,输入框高度自动扩展与收缩
  • Java IO流与NIO终极指南:从基础到高级应用
  • JAVA入门-JAVA数据类型
  • 永磁同步电机控制算法--线性ADRC转速环控制器(一阶、二阶)
  • Keysight万用表使用指南及基于Python采集数据生成Excel文件
  • Python os.path.join()路径拼接异常
  • 如何解决matlab/octave画图legend图例颜色一样的问题?
  • 零基础做自动驾驶集成测试(仿真)
  • C# 高效操作excel文件
  • Elasticsearch--自带“搜索引擎“的数据库
  • 软考中级-软件设计师 操作系统(手写笔记)