MySQL error forcing close of thread 139 User: ' Root '

Source: Internet
Author: User
Tags mysql in


MySQL, which recently restarted the server, always reported a large number of errors such as:


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‘

This error is actually MySQL in the DNS to do counter-check, due to the continued speed of the counter check too slow, a large number of query processing is not timely, the thread is not released, resulting in MySQL "Suspended animation."

Linux Server

Modify the MySQL configuration file (my.cnf) under [mysqld] to add:

Skip-name-resolve

Windows Server

Modify the MySQL configuration file (My.ini) under [mysqld] to add:


Skip-locking Skip-name-resolve


After the modification is complete, restart the MySQL service.


This article is from the "Garany.wang" blog, make sure to keep this source http://garany.blog.51cto.com/7342714/1758279

MySQL error forcing close of thread 139 User: ' Root '

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.