Mysql Usage

This is a discussion on Mysql Usage within the C# Programming forums, part of the General Programming Boards category; Hey, Does anyone have any info on how i can connect to a mysql database and send querys/process results e.t.c ...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    Mysql Usage

    Hey,

    Does anyone have any info on how i can connect to a mysql database and send querys/process results e.t.c i cant seem to find much info on it.

    Thanks
    TNT
    You Can Stop Me, But You Cant Stop Us All

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Download the connector - http://www.mysql.com/products/connector/net/
    This gives you the assemblies you need. They are all derived from standard Ado.Net interfaces, so look up some tutorials on Ado.Net, and where you have say OdbcConnection, change it for MySqlConnection.

    Pretty easy to use too.

  3. #3
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339
    Thanks fordy, how do you add assemblies to VS2005? Ive never needed to do it before.
    TNT
    You Can Stop Me, But You Cant Stop Us All

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    I only have the express version of C#, but in that you right click the solution in solution explorer and "Add Reference"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MySQL libraries
    By csonx_p in forum C++ Programming
    Replies: 6
    Last Post: 10-02-2008, 02:23 AM
  2. help using mysql
    By PedroTuga in forum C Programming
    Replies: 5
    Last Post: 04-20-2006, 03:04 AM
  3. About C++ and MySQL or oether free database
    By xxxrugby in forum C++ Programming
    Replies: 18
    Last Post: 12-30-2005, 05:28 AM
  4. Get data from mysql and use in a system.
    By smaakage in forum Tech Board
    Replies: 3
    Last Post: 10-04-2005, 12:03 PM
  5. Get data from mysql and use in a system.
    By smaakage in forum C++ Programming
    Replies: 5
    Last Post: 10-02-2005, 01:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21