USing MYSQL with C#

Discussion in 'MySQL' started by Carlos, Mar 3, 2009.

  1. Carlos

    Carlos New Member

    Joined:
    Dec 5, 2008
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    none
    Hello! i want to join MYSQL with C# windows based application.

    Someone has told me to add reference of MYSQL.DATA into my C# application, but i haven't found any file named such.

    So! can anyone tell me how to join MYSQL database with C#.

    Please! mention proper steps.
    Thanx
     
  2. Carlos

    Carlos New Member

    Joined:
    Dec 5, 2008
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    none
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Have you tried installing MyODBC

    The screen shot is from that software
     
  4. Carlos

    Carlos New Member

    Joined:
    Dec 5, 2008
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    none
    Ye I have installed this software properly, but i can't understand how to bring up this window to make connection.
     
  5. vikas1234

    vikas1234 New Member

    Joined:
    Aug 21, 2008
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    if the mysql server is installed on the same machine use localhost as the server url ... have u created the database on mysql server ..... ur connection s tring would be
    hostname:port:sid. Then u have a user name and password fill the form based on this entry and test the connection
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice