SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Mysql and C?

  1. #1
    SitePoint Wizard silver trophy someonewhois's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    6,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mysql and C?

    Hi,

    I know this is a webmasters forum, and most people might not know C here.. but I thought I'd give it a shot.

    Does anybody have any tutorials on accessing MySQL from C? PHP was easy, it was made, to say the least, to work with MySQL, but C would need some API or SDK.

    Anybody?

    Thanks in advanced!

    Regards,
    Someonewhois

  2. #2
    Employed Again Viflux's Avatar
    Join Date
    May 2003
    Location
    London, On.
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This might be of some help.

    http://www.mysql.com/doc/en/C.html


  3. #3
    SitePoint Wizard silver trophy someonewhois's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    6,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heh, t hanks, I found documentation on it elsewhere.

    One problem, however, is that the libmysql.lib file that you are supposed to use is for MSVC++.. I use borland. Anybody know how to get the DLL of it? Or have a borland copy?

    Regards,
    Someonewhois

  4. #4
    SitePoint Wizard silver trophy someonewhois's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    6,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind, downloaded MySQL binary and source and got it.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •