Results 1 to 2 of 2

Thread: Connect remotely to MySQL Server from C#
      
   

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Default Connect remotely to MySQL Server from C#

    Well I am developing a Windows Application in C# and I have a Web Hosting with you. So what can I do in order to connect to MySQL Server from my C# Application?

  2. #2
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,116

    Default Re: Connect remotely to MySQL Server from C#

    1) First you need to download a connector from mysql for c#.. I would imagine its connect/net
    http://dev.mysql.com/downloads/connector/

    2) Then when you setup your database make sure you change your "Access hosts" to allow your IP address to connect to the database. You should be able to enter just "%" with none of the IP ranges specified to allow any IP to connect

    3) And finally I would then find a tutorial on using the connector, there should be many out there.

    I hope that helps

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •