Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which is the mysql connector that supports proxy?
When iam using this code:
C#
conn.Proxy=proxy;

shows that MySql.Data.MySqlClient.MySqlConnection does not contain a definition for Proxy

NetworkCredential credential=new NetworkCredential("User","Password");
WebProxy proxy=new WebProxy("10.0.0.1",808);
proxy.Credentials=credential;

MySqlConnection conn = new MySqlConnection();conn.ConnectionString =
Host=192.168.0.10;port=3307;user=root;password=root";
conn.Proxy=proxy;
Posted
Updated 16-Apr-12 0:07am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900