MySQL#

Get process ID of blocking process.

mysqladmin -uroot -pROOT_PASSWORD_HERE processlist

Kill it.

mysqladmin -uroot -pROOT_PASSWORD_HERE kill 1234

MySQL