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


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

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

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

修改后:

保存,然后重启MySQL服务。
第二天查看服务运行情况,发现运行正常,不再宕机了,问题解决。
参考文章:
边栏推荐
- CA certificate trampled pit
- About the writing method of SQL field "this includes" and "included in" strings
- 他们主动布局(autolayout)环境的图像编辑器
- A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
- Official clarification statement of Jihu company
- 多家呼吸机巨头产品近期被一级召回 呼吸机市场仍在增量竞争
- The American Championship is about to start. Are you ready?
- Interprocess communication in the "Chris Richardson microservice series" microservice architecture
- poj 3237 Tree(樹鏈拆分)
- 科技云报道:算力网络,还需跨越几道坎?
猜你喜欢

Dbeaver executes multiple insert into error processing at the same time

Overview of concurrency control

Reptile practice

How can Huawei online match improve the success rate of player matching

Create a virtual machine on VMware (system not installed)

Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法

How to view Apache log4j 2 remote code execution vulnerability?

深信服X计划-网络协议基础 DNS

Talking about MySQL index

Pl/sql basic case
随机推荐
Learning of mall permission module
Evolution of large website architecture and knowledge system
装饰器学习01
MySQL连接断开报错MySQLdb._exceptions.OperationalError 4031, The client was disconnected by the server
科技云报道:算力网络,还需跨越几道坎?
微服务入门(RestTemplate、Eureka、Nacos、Feign、Gateway)
Hysbz 2243 staining (tree chain splitting)
A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
Common interview questions of redis factory
Concurrency control of performance tuning methodology
【愚公系列】2022年7月 Go教学课程 004-Go代码注释
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
Codeforces 12D ball tree array simulation 3 sorting elements
Pl/sql basic syntax
Pl/sql basic case
Leetcode simple question: check whether each row and column contain all integers
Official clarification statement of Jihu company
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
Multiplexing of Oracle control files
Drawing HSV color wheel with MATLAB