PHP Draino MySQL
Posted: 2009-04-15
This code snippet will "unclog" a MySQL server by finding the processes that are currently locking tables and clear them out. Though the snippet won't work as is, it does show the queries and code flow that make this work if you were to put in your own database handlers or the default PHP mysql handlers.

I'm not sure, but this might also work on other databsaes as well.

Back to the main page