当前位置:网站首页>MySQL服务莫名宕机的解决方案
MySQL服务莫名宕机的解决方案
2022-07-05 22:04:00 【梁萌】
如下图所示,在每天早上MySQL(5.7版本)服务都会自动停止,然后要手动重启才能正常运行。


于是查看了Windows系统的日志,发现在每天的凌晨三点多MySQL服务就会报错,然后自动停止。报错信息如下图所示:

网上查资料,说是缓冲区太小,需要更改缓冲区大小的配置参数,于是找到my.ini文件。

找到innodb_buffer_pool_size参数,原来的值为8M,将其改为1024M

修改后:

保存,然后重启MySQL服务。
第二天查看服务运行情况,发现运行正常,不再宕机了,问题解决。
参考文章:
边栏推荐
- 了解 Android Kotlin 中 DataStore 的基本概念以及为什么应该停止在 Android 中使用 SharedPreferences
- Performance monitoring of database tuning solutions
- Alternating merging strings of leetcode simple questions
- Codeforces 12D Ball 树形阵列模拟3排序元素
- Meituan dynamic thread pool practice ideas, open source
- Overview of database recovery
- 资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
- Countdown to 92 days, the strategy for the provincial preparation of the Blue Bridge Cup is coming~
- database mirroring
- Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
猜你喜欢

每日刷题记录 (十四)

Implementation technology of recovery

ICMP 介绍

PyGame practical project: write Snake games with 300 lines of code

Pl/sql basic syntax

Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned

Talking about MySQL index

从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析

How to view Apache log4j 2 remote code execution vulnerability?

The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
随机推荐
Yolov5 training custom data set (pycharm ultra detailed version)
华为联机对战如何提升玩家匹配成功几率
让开发效率提升的跨端方案
华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010
HDU 4391 Paint The Wall 段树(水
Matlab | app designer · I used Matlab to make a real-time editor of latex formula
PyGame practical project: write Snake games with 300 lines of code
Oracle checkpoint queue - Analysis of the principle of instance crash recovery
poj 3237 Tree(树链拆分)
Deeply convinced plan X - network protocol basic DNS
Defect detection - Halcon surface scratch detection
初级软件测试必问面试题
The American Championship is about to start. Are you ready?
Summary of El and JSTL precautions
Decorator learning 01
Blocking protocol for concurrency control
Efficiency difference between row first and column first traversal of mat data types in opencv
NET中小型企业项目开发框架系列(一个)
POJ 3237 tree (tree chain splitting)
Interprocess communication in the "Chris Richardson microservice series" microservice architecture