監控mysql數據庫主從狀態

python版本2.6.6python #!/usr/bin/python mysql import MySQLdb def check_mysql():     status = True     try:         conn=MySQLdb.connect(host='172.7.10.8',user='summer',passwd='summer',db='cms')        
相關文章
相關標籤/搜索