dcsimg
Results 1 to 3 of 3

Thread: [RESOLVED] How do I connect to a MySQL Database on a server?

  1. #1

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Resolved [RESOLVED] How do I connect to a MySQL Database on a server?

    I have a database in MySQL server called MD

    Server: Local host
    User: root
    Pass: wccmd12
    port 3306

    How do I connect to this database in vb.net?

    Can you give me the code and/or what to do please

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    22,827

    Re: How do I connect to a MySQL Database on a server?


  3. #3
    Moderator.NET kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,383

    Re: How do I connect to a MySQL Database on a server?

    mySQL offers a ADO.NET (the data access technology for .NET) adapter, so your first step would be to download that.

    http://dev.mysql.com/downloads/connector/net/

    Then they offer a good set of documentation and code samples here:

    http://dev.mysql.com/doc/refman/5.1/...ector-net.html
    Using VS.NET 2013/.NET 2.0 through 4.5 * Please mark you thread resolved using the Thread Tools above
    PLEASE INDICATE WHAT VERSION OF VB YOU USE!!!!!!!!!!!
    * If you found a post useful then please Rate it! * DO NOT PM ME WITH LINKS TO YOUR THREADS FOR ANSWERS PLEASE!

    Code Bank:Manipulate HTML Page content in the Web Browser Control from VB - Drag Drop from Windows into Win Form - Launch new default browser instance to open URL - Display Internet Image in Picturebox - Download Files From Web With Progress Bar - IP Textbox User Control - Installing .NET Framework with INNO Setup
    ZerosAndTheOne.com
    -=Matt=-

Tags for this Thread

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width