Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2006
    Posts
    112
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Connecting to a MySQL DB with .NET

    Not sure if this is more of a programming question or a MySQL question but here goes...

    I was looking to create a VS.NET program that can connect to a MySQL database on a Linux server. I see that MySQL has some projects that integrate .NET with MySQL but my question is are those projects restricted to using MySQL on a Windows OS or can my program, on a Windows OS, connect remotely to MySQL, on a Linux OS?

    I hope I was clear enough. Any help would be greatly appreciated. Thanks in advance.

  • #2
    Super Moderator guelphdad's Avatar
    Join Date
    Mar 2006
    Location
    St. Catharines, Ontario Canada
    Posts
    2,633
    Thanks
    4
    Thanked 148 Times in 139 Posts
    you should be able to connect irrespective of OS. You will need to connect via an ODBC connection. Not sure if what you are looking at used ODBC connections or not.

  • #3
    Regular Coder
    Join Date
    Jul 2006
    Posts
    112
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Cool, thanks!

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You can also use the Mysql .net connector object: http://dev.mysql.com/downloads/connector/net/1.0.html
    OracleGuy


  •  

    Posting Permissions

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