MySQL table can not be modified, deleted and other operations, card dead, lock the situation of processing methods.

Source: Internet
Author: User

MySQL If you frequently modify the data of a table, then this table will be locked. Cause the phenomenon of suspended animation.

For example, with Navicat and other connection tool operation, Navicat will not respond directly, can only force shutdown software, but the restart is still invalid.

Workaround:

First Execute:

Show full processlist; List the current operation process, you will generally see a lot of waiting process, indicating that there are already stuck proces, we want to kill these process!!

Re-execution:

Kill ProcessID; ProcessID indicates that the process ID, such as Kill 3301, kills the process with ID 3301.

Use Kill to kill all the IDs. Then restart MySQL, which will usually be resolved. If not, it should be impossible ...

To restart MySQL:

net stop MySQL//stop MySQL

net start MySQL//start MySQL

MySQL table can not be modified, deleted and other operations, card dead, lock the situation of processing methods.

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.