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


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

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

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

修改后:

保存,然后重启MySQL服务。
第二天查看服务运行情况,发现运行正常,不再宕机了,问题解决。
参考文章:
边栏推荐
- Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
- 【愚公系列】2022年7月 Go教学课程 004-Go代码注释
- Tips for using SecureCRT
- A substring with a length of three and different characters in the leetcode simple question
- The real situation of programmers
- 微服務鏈路風險分析
- ICMP 介绍
- Hysbz 2243 staining (tree chain splitting)
- An exception occurred in Huawei game multimedia calling the room switching method internal system error Reason:90000017
- 如何開發引入小程序插件
猜你喜欢

Win11运行cmd提示“请求的操作需要提升”的解决方法

Recovery technology with checkpoints

How to use tensorflow2 for cat and dog classification and recognition

2022-07-05:给定一个数组,想随时查询任何范围上的最大值。 如果只是根据初始数组建立、并且以后没有修改, 那么RMQ方法比线段树方法好实现,时间复杂度O(N*logN),额外空间复杂度O(N*

Pl/sql basic case

Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer

Server optimization of performance tuning methodology

华为快游戏调用登录接口失败,返回错误码 -1

The simple problem of leetcode is to split a string into several groups of length K

MySQL连接断开报错MySQLdb._exceptions.OperationalError 4031, The client was disconnected by the server
随机推荐
Daily question brushing record (XIV)
MMAP learning
POJ 3237 tree (tree chain splitting)
华为快游戏调用登录接口失败,返回错误码 -1
AD637 usage notes
Leetcode simple question: the minimum cost of buying candy at a discount
Pl/sql basic case
微服務鏈路風險分析
SecureCRT使用提示
About the writing method of SQL field "this includes" and "included in" strings
A substring with a length of three and different characters in the leetcode simple question
poj 3237 Tree(树链拆分)
Defect detection - Halcon surface scratch detection
"Chris Richardson microservices series" uses API gateway to build microservices
The simple problem of leetcode is to split a string into several groups of length K
Did you brush the real title of the blue bridge cup over the years? Come here and teach you to counter attack!
Summary of concurrency control
crm创建基于fetch自己的自定义报告
元宇宙中的三大“派系”
科技云报道:算力网络,还需跨越几道坎?