一.封装带SSH跳板机的MYSQL 二.配置settting import pymysql from sshtunnel import SSHTunnelForwarder class MyDb(object): #mysql类方法 def __del__(self): self.cur.close() self.coon.close() self.server.close() def __init__(self,host,ssh_username,ssh_password,ip,db,sql_…