I have a very simple mysql script that is running. But it hangs, and runs forever without finishing. What are possible reasons, and how can I resolve them?
delete from guid_target_infos where type_id = 1 and updated_at < '2010-03-14' limit 1
UPDATE: show processlist
| 93 | mysql | localhost | TwAnalyzer_dev | Query | 257 | updating | delete from guid_target_infos where type_id = 1 and updated_at < '2010-03-14' limit 1 |
(Everything else - Command is SLEEP, and info is NULL)