Actually, it's not the db. The php processes have been dying, leaving the poor web server with nothing to talk to.
The reason swat was not affected is that it runs from a different webserver and a different database process.
Imagine a pathologically idealistic, anti-religious, culturally-relativistic, iconoclastic, socially-irreverent, sociologically-progressive signature line here. Or don't.