MySQL8.0.28数据库在windows版本下运行宕机问题解决

问题描述

MySQL8.0.28数据库在windows2022服务器上运行,使用Navicat执行数据备份或者是在并发量较高的情况下会自行宕机,查看日志后发现报错问题如下:

mysqld got exception 0x16 ;
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
7ff6753cfd48    mysqld.exe!my_print_stacktrace()[stacktrace.cc:429]
7ff67460004b    mysqld.exe!print_fatal_signal()[signal_handler.cc:130]
7ff6745ffe13    mysqld.exe!my_server_abort()[signal_handler.cc:241]
7ff6753b643a    mysqld.exe!my_abort()[my_init.cc:263]
7ff6755ec579    mysqld.exe!ut_dbg_assertion_failed()[ut0dbg.cc:99]
7ff67553bd51    mysqld.exe!SyncFileIO::execute()[os0file.cc:3776]
7ff67553d5da    mysqld.exe!os_aio_windows_handler()[os0file.cc:7188]
7ff67553c7da    mysqld.exe!os_aio_handler()[os0file.cc:6120]
7ff67555e3f4    mysqld.exe!fil_aio_wait()[fil0fil.cc:8207]
7ff6755ae091    mysqld.exe!io_handler_thread()[srv0start.cc:281]
7ff6755ab7b4    mysqld.exe!std::thread::_Invoke<std::tuple<Detached_thread,void (__cdecl*)(unsigned __int64),unsigned __int64>,0,1,2>()[thread:54]
7ffea5cc6b4c    ucrtbase.dll!_recalloc()
7ffea78b4de0    KERNEL32.DLL!BaseThreadInitThunk()
7ffea801ec4b    ntdll.dll!RtlUserThreadStart()
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.

问题解决

简单来说就是8.0.28本身数据库的bug,在8.0.29版本已经修复,建议使用8.0.34版本

官方社区相关问题:
https://forums.mysql.com/read.php?22,703528,703529

解决:

It was fixed in the 8.0.29 release, with the following bugs:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-29.html

- InnoDB: The AIO synchronization queue used on Windows was removed. The synchronous file I/O read-write function (SyncFileIO::execute) was revised to handle files opened for both normal and overlapped I/O, as it does on Linux. (Bug #33840645)

- InnoDB: A thread posted an asynchronous I/O operation and closed itself, resulting in an operating system file operation error. (Bug #30567295)

The 995 error is not an fatal error in itself, but it was handled incorrectly, leading to a crash. Currently it should only be reported on INFO level and can be safely ignored.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
您可以按照以下步骤安装MySQL 8.0.28数据库: 1. 首先,您需要访问MySQL的官方网站,并点击MySQL Community (GPL) Downloads 。 2. 在下载页面上,您需要点击MySQL Community Server,找到(mysql-installer-community-8.0.28.0.msi)文件并下载,也可以点击Archives来下载历史版本 。 3. 完成下载后,您可以双击下载的安装文件进行安装。在安装过程中,您可能需要选择一些选项,如安装路径和组件 。 4. 安装完成后,您需要启动MySQL服务。您可以将MySQL服务命令拷贝到/etc/init.d/mysql中 ,然后使用以下命令启动MySQL服务: ``` sudo service mysql start ``` 5. 您可以使用以下命令来检查MySQL服务的状态: ``` ps -ef | grep mysql ``` 这将显示MySQL进程的状态 。 通过按照以上步骤,您就可以成功安装MySQL 8.0.28数据库。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [MySQL8.0.28安装超详细教程](https://blog.csdn.net/qq_51929833/article/details/124262506)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [MySQL8.0.28数据库安装和主从配置](https://blog.csdn.net/u011743790/article/details/122845103)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

徐州蔡徐坤

又要到饭了兄弟们

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

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

打赏作者

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

抵扣说明:

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

余额充值