Mysql报错Forcing close of thread 139 user: 'root'
最近重启服务器的mysql总是报大量的如下错误:
160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 139 user: 'root' 160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 138 user: 'root' 160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 137 user: 'root' 160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 136 user: 'pdss' 160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 131 user: 'root' 160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 130 user: 'csm'
这个错误其实是mysql在对DNS做反查,由于反查的接续速度过慢,大量的查询处理不及时,线程得不到释放,造成MySQL“ 假死”。
解决办法:
linux服务器
修改mysql的配置文件(my.cnf)在[mysqld]下添加:
skip-name-resolve
windows服务器
修改mysql的配置文件(my.ini)在[mysqld]下添加:
skip-lockingskip-name-resolve
修改完成后,重启mysql服务。
转载于:https://blog.51cto.com/garany/1758279
Mysql报错Forcing close of thread 139 user: 'root'相关推荐
- Mysql报错130_Mysql报错Forcing close of thread 139 user: 'root'
最近重启服务器的mysql总是报大量的如下错误:160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 139 ...
- Mysql报错130_Mysql报错Forcing close of thread 139 user: 'root'
最近重启服务器的mysql总是报大量的如下错误: 160330 9:14:26 [Warning] /usr/libexec/mysqld: Forcing close of thread 139 ...
- mysql报错:1044 -Access denied for user ‘root‘@‘%‘ to database
1.登录数据库 mysql -uroot -p 2.进入mysql,依次输入以下命令 use mysql update user set host='%' where user='root'; GRA ...
- 大批量数据写入mysql报错 #1436 Thread stack overrun
一次插入5万条数据导致数据库报错:General error: 1436 Thread stack overrun: 246144 bytes used of a 262144 byte stack, ...
- mysql报错1200_mysql配置文件不生效以及配置同步复制报错“The server is not configured as slave”解决办法...
今晚给2台mysql数据库配置主从同步,因为驾轻就熟,所以很快就配置到最后一步了,谁知道执行最后一个命令"slave start"时给我来了个报错"ERROR 1200 ...
- mysql 报错 get error 28 from storage engine 解决方法
mysql 报错 get error 28 from storage engine 解决方法 参考文章: (1)mysql 报错 get error 28 from storage engine 解决 ...
- Mysql报错Fatal error:Can't open and lock privilege tables
Mysql报错Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 安装mysql后 ...
- 登录mysql报错2059,navicat连接mysql报错2059如何解决
navicat连接mysql报错2059,如下图所示: 网上查询过后,发现这个错误出现的原因是在mysql8之前的版本中加密规则为mysql_native_password,而在mysql8以后的加密 ...
- python怎么捕获mysql报错
一.前言 最近在运行python脚本的时候,经常出现:mysql server has gone away的错误,导致脚本停止运行.只是代码里面明明已经使用try: except 这种方式来捕获mys ...
最新文章
- Android Dialog 关闭的时候标题栏闪烁一下的处理方法
- Eureka与zookeeper
- vue2.0中文网站2.0
- 你应该更新的Java知识之常用程序库
- Navicat连接SQL Server报错未发现数据源名称并且未指定默认驱动程序
- 给单片机焼写程序需要什么东西_单片机怎么烧写程序
- 神策数据荣登《中国企业家》“未来之星”榜单
- boost::mutex相关的测试程序
- TensorFlow报错:'dict' object has no attribute 'SerializeToString'
- 一串字符串转换为ascii_将ASCII字符串(char [])转换为C中的BYTE数组
- c++中的运算符异或^,与,或|
- JavaScript学习总结(2)——JavaScript数据类型判断
- 安装activex手机控件_86/BRZ 免“油饼”安装 Defi 机油压力表
- Windows11 家庭版开启远程桌面解决方案之RDP Wrapper Library,小白全面攻略
- 网孔型高级维修电工实训装置
- js获取某月的天数以及某天的前一个日期和后一天日期
- 浅谈CFD(constant fraction discriminator恒比鉴相器)
- ffmpeg视频中提取语音
- pytest学习和使用8-fixture如何实现teardown功能?(yield的使用)
- uipath工具介绍
热门文章
- java爬虫面试题_使用Java实现网络爬虫
- python训练模型函数参数_一步步亲手用python实现Logistic Regression
- 【 MATLAB 】filter 函数介绍(一维数字滤波器)
- 【 FPGA 】FIR 滤波器之半带抽取器(Half-band Decimator)
- 从大数据技术参考模型角度梳理大数据标准
- ET001 不可不掌握的 Logstash 使用技巧
- 多少人没熬过45-55这段危险期? 为家人, 请多看一眼!
- [转]启动Tomcat提示:指定的服务未安装
- Gevent异步服务类实现多姿势WEB实时展示
- 【转】Jquery -Ajax 入门练习 Jquery.Ajax 调用后台函数,获取DataTable Json,Asp.net