Thread: C and MySQL, possible?

  1. #1
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807

    C and MySQL, possible?

    It's possible to add, delete and seek mysql database trought C?
    If yes, could someone give me an explication or link?

    Thanks.

  2. #2
    Registered User
    Join Date
    Aug 2002
    Posts
    30
    Hi

    Well, I've heard something about this, there is a MySQL C API.
    Check out this link: http://www.mysql.com/doc/en/C.html

    I don't know any more details, but some people say it could be slow sometimes and a little bit unreliable too (I don't know if it's true).

    Anyway try it, you have nothing to lose. It comes with the mysql package.
    Best Regards,

    Bill

  3. #3
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807

    Thanks Bill.

    Seems to be very interessant this API

  4. #4
    Registered User
    Join Date
    Oct 2002
    Posts
    46
    *sigh* Another very heavy & clumsy api. From personal experience, it works OK; or more to the point it's slow & clunky but fairly solid. Like a diesel Volvo going up hill on a cold day. On the upside, it is only a tiny bit more complicated than the Perl DBI interface. And like that interface you're just sending a lot of sprintf() formatted strings to the interpreter & grabbing the results from an array of pointers.

Popular pages Recent additions subscribe to a feed