Unanswered: OS X MySQL infinite loop ;( How to cancel the query?
I ran a PHP script to update a table accidentally that has an infinite loop without a break condition on my dev machine. The script hung, the fan speed went up and no further MySQL queries were possible because it is busy updating the table inside the inifinite loop. I tried everything - using the SQL Administrator to stop the server (it fails to stop), event manager to quit/force-quit, reboot, etc but in vain. Even when I was able to kill the MySQL process, when I restart the machine, MySQL seems to pick up the pending query from the log file (?) and continue updating the table infinitely - the fan speed goes up and no further queries are possible.