#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    2
    Rep Power
    0

    Connecting c to mysql


    Hi all,

    i want to connect c to mysql and i m using visual studio(cl) as my compiler. i need steps in detail to do that.
    please let me know the necessary library and drivers needed for that along with the url to download it.
    Last edited by rishikesh; September 4th, 2012 at 02:38 AM. Reason: misspelled
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,645
    Rep Power
    4248
    Full documentation is here: http://dev.mysql.com/doc/refman/5.5/en/c.html
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    2
    Rep Power
    0
    thanks for replying but......
    already visited that website.......do not need any programming help....just tell me how to use,compile and link those library and header files to connect to mysql...........

    p.s. i m using visual studio 2008 as my compiler......
  6. #4
  7. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,417
    Rep Power
    1871
    So did you read "22.9.17. Building Client Programs" link on the very page that Scorpions4ever pointed you to?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo