mysql4.0做主从时主库的备份脚本(二)

2014-11-24 15:45:46 · 作者: · 浏览: 1
break
except MySQLdb.Error,e:
text = e.args
print text
self.log_w(text)
def work(self):
t = threading.Thread(target=self.lock, args=())
t.start()
if __name__ == "__main__":
boss = mysql_dump()
boss.work()