with sshtunnel.SSHTunnelForwarder((_host, _ssh_port), ssh_username=
    _username, ssh_password=_password, remote_bind_address=(
    _remote_bind_address, _remote_mysql_port), local_bind_address=(
    _local_bind_address, _local_mysql_port)) as tunnel:
    pass
Enable Python to Connect to MySQL via SSH Tunnelling