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 (for example)

Your link doesn't work. but most probably it will still use the same method you are using now. the only thing you need to be aware is to resolve the server address before you pass the connection string to the connection string build / before you open the connection.

Hello,
i am facing the same problem and don'tknow how to call the SQLyogTunnel.php functions.
Did you find a solution meanwhile ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.