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


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

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

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

修改后:

保存,然后重启MySQL服务。
第二天查看服务运行情况,发现运行正常,不再宕机了,问题解决。
参考文章:
边栏推荐
- Stored procedures and stored functions
- Interprocess communication in the "Chris Richardson microservice series" microservice architecture
- AD637使用笔记
- 装饰器学习01
- Concurrency control of performance tuning methodology
- Two stage locking protocol for concurrency control
- Cross end solutions to improve development efficiency
- HYSBZ 2243 染色 (树链拆分)
- ICMP 介绍
- How to organize an actual attack and defense drill
猜你喜欢

ICMP 介绍

Advantages and disadvantages of the "Chris Richardson microservice series" microservice architecture

Index optimization of performance tuning methodology

MATLAB | App Designer·我用MATLAB制作了一款LATEX公式实时编辑器

Summary of concurrency control

笔记本电脑蓝牙怎么用来连接耳机

Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes

Database tuning solution

总结出现2xx、3xx、4xx、5xx状态码的原因

MMAP learning
随机推荐
Evolution of large website architecture and knowledge system
Recovery technology with checkpoints
crm创建基于fetch自己的自定义报告
Database recovery strategy
如何开发引入小程序插件
Implementation technology of recovery
Leetcode simple question check whether all characters appear the same number of times
Form artifact
Type of fault
How to organize an actual attack and defense drill
AD637使用筆記
每日刷题记录 (十四)
POJ 3237 tree (tree chain splitting)
如何向mongoDB中添加新的字段附代码(全)
Overview of database recovery
Net small and medium-sized enterprise project development framework series (one)
笔记本电脑蓝牙怎么用来连接耳机
数据泄露怎么办?'华生·K'7招消灭安全威胁
Code bug correction, char is converted to int high-order symbol extension, resulting in changes in positivity and negativity and values. Int num = (int) (unsigned int) a, which will occur in older com
如何開發引入小程序插件