lock all of mysql including zep and zodb with: FLUSH TABLES WITH READ LOCK