In my opinion you are using a wrong connection string.
After forwarding your local port to the remote one through ssh, you must connect using "locahost", not "data".
More, MySql standard port is 3306, not 3307, so you should declare it in connection string.
So you should use
Marco
After forwarding your local port to the remote one through ssh, you must connect using "locahost", not "data".
More, MySql standard port is 3306, not 3307, so you should declare it in connection string.
So you should use
string connStr = "server=localhost;port=3307;database=db_name;uid=my_sql_username;pwd=my_sql_server_password;";
Hope this solves your problem,Marco