Created
July 7, 2010 06:26
-
-
Save soundkitchen/466379 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- find current processes. | |
mysql> SHOW PROCESSLIST; | |
-- kill process by process id | |
mysql> KILL <PROCESS ID>; | |
-- find lock. | |
-- | |
-- When In_use is 0, anyone locked it. otherwise someone locked. | |
-- When Name_locked is 1, DDL locked it. | |
mysql> SHOW OPEN TABLES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment