At 3:38 PM +0800 5/5/1999, Naveen Yawanarajah (GTP) wrote:
>I'm at a COMPLETE LOSS.
>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: http://www.snake.net/nl/