Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The following code is used to connect C# with mysql server
connectionParam = "SERVER=" + DbServer + ";DATABASE=" + dbName + ";UID=" + uName+ ";PASSWORD=" + pass;

MySqlConnection mConnection = new MySqlConnection(connectionParam );

But what will be the code, if MySql can only be accessed through HTTP Tunneling.

Tunneling URL: http://www.xyzpqr.com/SQLyogTunnel.php
Posted
Updated 24-Oct-10 4:19am
v2

Have you tried looking in connectionstrings.com/[^]?

It has examples to suit most circumstances.
 
Share this answer
 
i've searched the link. But found no topics on "Http Tunneling"
 
Share this answer
 
in the web.config connection string you have to mention the server name as well as username and password
 
Share this answer
 
Read the below artical , cause i also fetch the same issue.
i got my solutions here
http://www.devart.com/dotconnect/mysql/docs/Tunneling.htm[^]
 
Share this answer
 
i can't access your given link. (Error; 404)
http://www.devart.com/dotconnect/mysql/docs/Tunneling.htm[^]

If you have the code pls. provide me.
 
Share this answer
 
Comments
RDBurmon 25-Oct-10 4:31am    
What is issue with the url ?

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