当前位置:网站首页>MySQL服务莫名宕机的解决方案
MySQL服务莫名宕机的解决方案
2022-07-05 22:04:00 【梁萌】
如下图所示,在每天早上MySQL(5.7版本)服务都会自动停止,然后要手动重启才能正常运行。
于是查看了Windows系统的日志,发现在每天的凌晨三点多MySQL服务就会报错,然后自动停止。报错信息如下图所示:
网上查资料,说是缓冲区太小,需要更改缓冲区大小的配置参数,于是找到my.ini文件。
找到innodb_buffer_pool_size参数,原来的值为8M,将其改为1024M
修改后:
保存,然后重启MySQL服务。
第二天查看服务运行情况,发现运行正常,不再宕机了,问题解决。
参考文章:
边栏推荐
- Index optimization of performance tuning methodology
- 华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010
- Regular expressions and re Libraries
- 极狐公司官方澄清声明
- Bitbucket installation configuration
- 让开发效率提升的跨端方案
- 如何组织一场实战攻防演练
- 了解 Android Kotlin 中 DataStore 的基本概念以及为什么应该停止在 Android 中使用 SharedPreferences
- Meituan dynamic thread pool practice ideas, open source
- The American Championship is about to start. Are you ready?
猜你喜欢
元宇宙中的三大“派系”
database mirroring
Oracle advanced query
How to use tensorflow2 for cat and dog classification and recognition
Summary of concurrency control
Business learning of mall commodity module
Deeply convinced plan X - network protocol basic DNS
Web3为互联网带来了哪些改变?
Efficiency difference between row first and column first traversal of mat data types in opencv
The American Championship is about to start. Are you ready?
随机推荐
EBS Oracle 11g cloning steps (single node)
"Chris Richardson microservices series" uses API gateway to build microservices
K210 learning notes (IV) k210 runs multiple models at the same time
如何组织一场实战攻防演练
CA certificate trampled pit
A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
Leetcode simple question: check whether each row and column contain all integers
Overview of concurrency control
Form artifact
微服务入门(RestTemplate、Eureka、Nacos、Feign、Gateway)
A long's perception
深信服X计划-网络协议基础 DNS
Image editor for their AutoLayout environment
Ad637 notes d'utilisation
How to develop and introduce applet plug-ins
A substring with a length of three and different characters in the leetcode simple question
crm创建基于fetch自己的自定义报告
装饰器学习01
Create a virtual machine on VMware (system not installed)
了解 Android Kotlin 中 DataStore 的基本概念以及为什么应该停止在 Android 中使用 SharedPreferences