List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:February 9 2003 3:21pm
Subject:Re: C API for mysql
View as plain text  
At 14:21 +0000 2/7/03, Qin Lu wrote:
>I'd like to practice my C application for using mysql.
>Do you know where can I find some examples?

Look in the client directory of a MySQL source distribution.  Many/most
of the standard MySQL clients are written in C.

You can also get examples at this site:

Get the sampdb distribution and look in its capi directory for sample
programs. These programs are discussed in the sample chapter available
at the same site (PDF format).

>Which header files should I include in my code?
>And which lib.a should I link to?
>Many Thanks.

sql, query
C API for mysqlQin Lu7 Feb
  • Re: C API for mysqlPaul DuBois9 Feb