Dump mysql DB as a single transaction.