python3 通过ssh登录mysql
摘要:import pymysql from sshtunnel import SSHTunnelForwarder from config import Cfg class MYSQL: # 初始化函数,初始化连接列表 def __init__(self, host, port, user, pwd,
阅读全文
posted @ 2021-03-17 16:05
posted @ 2021-03-17 16:05
posted @ 2019-01-11 17:15
posted @ 2018-12-26 14:30