Howto Connect MySQL using C API under Linux / UNIX

Posted by nixcraft on Jun 1, 2007 4:13 AM EDT
nixCraft
Mail this story
Print this story

MySQL database does support C program API just like PHP or Perl API. The C API code is distributed with MySQL. It is included in the mysqlclient library and allows C programs to access a database.

Many of the clients in the MySQL source distribution are written in C. If you are looking for examples that demonstrate how to use the C API, take a look at these clients. You can find these in the clients directory in the MySQL source distribution.

This tutorial provides a sample MySQL C program and step by step compilation instructions to kick start MySQL programming via C API.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Fedora, GNU, Linux, MySQL

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.