当前位置:网站首页>MySQL服务莫名宕机的解决方案
MySQL服务莫名宕机的解决方案
2022-07-05 22:04:00 【梁萌】
如下图所示,在每天早上MySQL(5.7版本)服务都会自动停止,然后要手动重启才能正常运行。
于是查看了Windows系统的日志,发现在每天的凌晨三点多MySQL服务就会报错,然后自动停止。报错信息如下图所示:
网上查资料,说是缓冲区太小,需要更改缓冲区大小的配置参数,于是找到my.ini文件。
找到innodb_buffer_pool_size参数,原来的值为8M,将其改为1024M
修改后:
保存,然后重启MySQL服务。
第二天查看服务运行情况,发现运行正常,不再宕机了,问题解决。
参考文章:
边栏推荐
- Shell script, awk condition judgment and logic comparison &||
- 总结出现2xx、3xx、4xx、5xx状态码的原因
- HDU 4391 Paint The Wall 段树(水
- QML reported an error expected token ";", expected a qualified name ID
- 从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
- Storage optimization of performance tuning methodology
- Meituan dynamic thread pool practice ideas, open source
- poj 3237 Tree(樹鏈拆分)
- 从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
- 1.3 years of work experience, double non naked resignation agency face-to-face experience [already employed]
猜你喜欢
Deeply convinced plan X - network protocol basic DNS
The statistics of leetcode simple question is the public string that has appeared once
Huawei cloud modelarts text classification - takeout comments
Oracle hint understanding
Interprocess communication in the "Chris Richardson microservice series" microservice architecture
Stored procedures and stored functions
Database tuning solution
数据泄露怎么办?'华生·K'7招消灭安全威胁
PyGame practical project: write Snake games with 300 lines of code
笔记本电脑蓝牙怎么用来连接耳机
随机推荐
A trip to Suzhou during the Dragon Boat Festival holiday
Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法
Database recovery strategy
The American Championship is about to start. Are you ready?
元宇宙中的三大“派系”
Yolov5 training custom data set (pycharm ultra detailed version)
Granularity of blocking of concurrency control
Matlab | app designer · I used Matlab to make a real-time editor of latex formula
EBS Oracle 11g cloning steps (single node)
Installation of VMware Workstation
MMAP learning
Basic grammar of interview (Part 1)
Decorator learning 01
Oracle hint understanding
The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
How to develop and introduce applet plug-ins
K210学习笔记(四) K210同时运行多个模型
Blocking of concurrency control
How to organize an actual attack and defense drill
DataGrid directly edits and saves "design defects"