#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    1
    Rep Power
    0
    How can I access to MySQL from C or C++ in my Linux platform?
    If you can, show me also some example code.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    Annapolis, Maryland US
    Posts
    113
    Rep Power
    15
    Check out Paul Dubois' book 'MySQL' (New Riders Professional Library ISBN# 0-7357-0921-1) - it contains a whole chapter on the MySQL C API and should give you more than enough information to get started.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 1999
    Posts
    12
    Rep Power
    0
    Well theres the c API and if u want to use c++ then theres 2 others API i think, one of which is mysql++ (more like wrapping up the c API in classes i guess).
    For sample code, just use the command "info" in linux and if u installed mysql correctly there will be an info file u can look at, including some sample code for the API, and of course the whole API description.

Similar Threads

  1. mysql - MS access linked tables has locked me from changing anything
    By alexmasters in forum Database Management
    Replies: 2
    Last Post: May 15th, 2004, 04:17 AM
  2. convert access to mysql: new scenario
    By bugga in forum MySQL Help
    Replies: 2
    Last Post: November 24th, 2003, 04:09 PM
  3. Errcode:13 . How to solve it on MySQL + Windows 2000
    By hankycheng in forum MySQL Help
    Replies: 28
    Last Post: August 3rd, 2003, 10:05 AM
  4. mysql and access 2k..some questions
    By hescominsoon in forum MySQL Help
    Replies: 0
    Last Post: June 28th, 2003, 07:38 PM
  5. ACCESS Requests to MYSQL
    By kiddo01 in forum MySQL Help
    Replies: 4
    Last Post: June 18th, 2003, 04:45 AM

IMN logo majestic logo threadwatch logo seochat tools logo