Jump to content


Photo

Connector For C# And Mysql


  • Please log in to reply
3 replies to this topic

#1 sah

sah

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 20 December 2010 - 10:00 AM

Is there any connector to connect c# and mysql using http tunneling?
Using SQLYog tool it is possible to connecct using http tunneling.
But i need a connector that can be used to develop an application
using c# and mysql.

#2 peterlaursen

peterlaursen

    Advanced Member

  • Admin
  • PipPipPip
  • 7,869 posts
  • Gender:Male
  • Location:Skagen, Denmark
  • Interests:well ... jazz/folk music, photography, chess, nature, ecology, history, bicycling, Highland Malts ... well, Lowland Malts and Cognac too actually :-) just wonder how I get the time to touch a computer! SQLyog and MONyog? no that's not interest, that's BASIC NEEDS simply!

Posted 20 December 2010 - 03:28 PM

MySQL has a .NET connector: http://dev.mysql.com.../connector/net/ (but I do not understand how is is related to HTTP-tunnel)


Computers make your grey hair come off ....

Peter Laursen
Webyog

#3 sah

sah

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 December 2010 - 06:42 AM

MySQL has a .NET connector: http://dev.mysql.com.../connector/net/ (but I do not understand how is is related to HTTP-tunnel)


the .net connector that you mentioned doesn't support http tunnel. i wanna connect to a remote server that was blocked by firewall. but it can be reached through http tunnel. .NET connector can connect to database server directly.

#4 peterlaursen

peterlaursen

    Advanced Member

  • Admin
  • PipPipPip
  • 7,869 posts
  • Gender:Male
  • Location:Skagen, Denmark
  • Interests:well ... jazz/folk music, photography, chess, nature, ecology, history, bicycling, Highland Malts ... well, Lowland Malts and Cognac too actually :-) just wonder how I get the time to touch a computer! SQLyog and MONyog? no that's not interest, that's BASIC NEEDS simply!

Posted 21 December 2010 - 09:25 AM

OK .. such thing you will have to code yourself. I don't think you will find it anywhere.

1) You will need a server-side script (PHP, ASP.NET, JAVA/JSP or similar language that can connect to MySQL and be controlled with HTTP-requests) that should be uploaded to the server.

2) The binary on the client machine will have to communicate with that script.




The SQLyog tunneler cannot be used as a 'generic proxy' for other programs. Only the SQLyog binary can communicate with it.








Computers make your grey hair come off ....

Peter Laursen
Webyog




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users