wrote script to acquire mysql locks