Results 1 to 7 of 7

Thread: Connecting to MySQL database with VB.NET

  1. #1

    Thread Starter
    Lively Member morrowasted's Avatar
    Join Date
    Aug 2003
    Location
    Houston, TX
    Posts
    118

    Connecting to MySQL database with VB.NET

    Is this possible? If so, how can I do this?

    -morrowasted

  2. #2
    Lively Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    99
    You can easily do it through an ODBC driver
    or I've seen there's an ole db driver (not sure if it's compatible with .NET)

    Maybe you should better check the mysql site for it or you can contact them to ask if they're developing a driver for .NET

    HTH

    Bjorn

  3. #3

    Thread Starter
    Lively Member morrowasted's Avatar
    Join Date
    Aug 2003
    Location
    Houston, TX
    Posts
    118
    You can easily do it through an ODBC driver
    I'm not really sure what an ODBC driver is, but my MySQL monitor say that it "cannot be found"

    -morrowasted

  4. #4
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    You can download it from MySQL web site
    http://www.mysql.com/products/myodbc/index.html

    But you also need the ODBC framework for .NET otherwise you can't use it. I'm not sure where to get that from though.

  5. #5
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    Nevermind, I found that too...
    http://msdn.microsoft.com/library/de...vframework.asp

    Click and download "ODBC .NET Data Provider"

  6. #6
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Wow I didn't realize you needed to download special drivers to connect to a MySQL database with VB... I always thought VB had that included since MySQL is such an important part in today's internet

  7. #7
    Addicted Member craigreilly's Avatar
    Join Date
    Jul 2004
    Location
    Scottsdale, AZ
    Posts
    188
    after trying all this - it seems VB.NET Standard only supports MSDE/Sql Express and MS Access DB's.
    Any info on connecting to MySQL would be appreciated - if it is possible.

Posting Permissions

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



Click Here to Expand Forum to Full Width