List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:May 5 1999 8:00am
Subject:Re: C API - pls help
View as plain text  
At 3:38 PM +0800 5/5/1999, Naveen Yawanarajah (GTP) wrote:
>Hi List,
>Can anyone post a small C program that connects to a DB,
>carries out an SQL query or two (perhaps an INSERT and a SELECT)
>and then disconnects? This will help me get started, as I have no
>idea what .h files to #include, or even how to make an initial
>connection to mysql. I can use the mysqld in command-line type
>situations, but haven't had any luck locating an example c program.

Your best best is to grab a MySQL source distribution and take a
look at the source code for some of the client programs.

Paul DuBois, paul@stripped
Northern League Chronicles:
C API - pls helpGTP)5 May
  • Re: C API - pls helpPaul DuBois5 May
  • Re: C API - pls helpSasha Pachev5 May