Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How to connect with a MySQL database?

How to connect with a MySQL database?

Scheduled Pinned Locked Moved Database
csharpdatabasemysqlvisual-studiohelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rushing
    wrote on last edited by
    #1

    In vs.net 2005, I want to connect with MySQL database. After trying some hours, I found there is many questions: 1 Add reference error. Which dll should be add into project? 2 Connect String error. Which provider in OLEDB could be used? 3 User name and password and datasource. Thanks!

    F T 2 Replies Last reply
    0
    • R rushing

      In vs.net 2005, I want to connect with MySQL database. After trying some hours, I found there is many questions: 1 Add reference error. Which dll should be add into project? 2 Connect String error. Which provider in OLEDB could be used? 3 User name and password and datasource. Thanks!

      F Offline
      F Offline
      Frank Kerrigan
      wrote on last edited by
      #2

      OLE DB Provider for mySQL oConn.Open "Provider=MySQLProv;" & _ "Data Source=mySQLDB;" & _ "User Id=myUsername;" & _ "Password=myPassword"

      R 1 Reply Last reply
      0
      • R rushing

        In vs.net 2005, I want to connect with MySQL database. After trying some hours, I found there is many questions: 1 Add reference error. Which dll should be add into project? 2 Connect String error. Which provider in OLEDB could be used? 3 User name and password and datasource. Thanks!

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        www.connectionstrings.com[^]


        TOXCCT >>> GEII power
        [toxcct][VisualCalc]

        1 Reply Last reply
        0
        • F Frank Kerrigan

          OLE DB Provider for mySQL oConn.Open "Provider=MySQLProv;" & _ "Data Source=mySQLDB;" & _ "User Id=myUsername;" & _ "Password=myPassword"

          R Offline
          R Offline
          rushing
          wrote on last edited by
          #4

          I use the provider "MySQLProv",but the .net 2005 beta2 said "the provider is not registered on the local machine.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups