You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the example given in this article to connect to MySQL via an SSH tunnel in Python, but I'm encountering an error.
Issue Details
When I run the Python script, I get the following error message:
cannot import name 'SSHTunnelForwarder' from 'sshtunnel' (c:\Users\xxxxx\Documents\Python\graph v2\sshtunnel.py)
File "C:\Users\xxxxx\Documents\Python\graph v2\test2.py", line 5, in <module>
from sshtunnel import SSHTunnelForwarder"
I'm running Windows Server 2019 and Python version 3.7.9, and the following packages:
I'm trying to run the example given in this article to connect to MySQL via an SSH tunnel in Python, but I'm encountering an error.
Issue Details
When I run the Python script, I get the following error message:
I'm running Windows Server 2019 and Python version 3.7.9, and the following packages:
Steps to Reproduce
Install the packages listed above.
Run the Python script provided in the article.
Observe the error message.
Expected Result
I expected the script to run successfully and connect to MySQL via an SSH tunnel.
Actual Result
The script fails to run and produces an error message.
The text was updated successfully, but these errors were encountered: