问题 I'm trying to use the MySQL connector in Python, through an SSHTunnel, and I'm getting a MySQL Connection not available. error. It seems to be talking to the server (I get an access denied message if I change the password), but it fails when I try to create a cursor object (specifically, when the MySQL library runs CMySQLConnection.is_connected() . I can connect to the database by SSHing in using the same credentials, then running mysql in the command line. Code: with sshtunnel