Mysql DB Dump without DB locking

This is how to db dump without db locking.
This script makes you can dump db without have influence to live service.