python 使用ssh 连接mysql 数据库 ssh_host = "x.xxx.xxx.x" # 堡垒机ip地址或主机名 ssh_port = 22 # 堡垒机连接mysql服务器的端口号,一般都是22,必须是数字 ssh_user = "xxxxx" # 这是你在堡垒机上的用户名 ssh_password = "xxxxxxxxxx" # 这是你在堡垒机上的用户密码 mysql_host = "127.0.0.1" # 这是你mysql服务器的主机名或ip地址 mysql_port = 3306