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;
Still you have problem check your network ,Permission,and connectionstring (
add "Protocol" attribute may help you)