RaymanJ@stripped writes:
> I am beginner in the cgi linking to a database. So can anyone help me solve a
> problem. How do I link my C program CGI to MySQL. I know I need a header
> file called "mysql.h" but were do I find this and so that I may link it to my
> C programs. Once I get past that it is easy for me from there.
>
> Ray
>
Hi!
Download a source, run configure, make, make install and you will have
all you need to build CGI which connects to MySQL.
In client dir there are client programs, which will be a good guidance
on how to build programs with C API. There is also a C++ API for
MySQL.
There is also a nice chapter in a manual on C API.
Sinisa
+---------------------------------------------------------------------+
| TcX ____ __ _____ _____ ___ == mysql@stripped |
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sinisa@stripped |
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Belgrade |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|_____ Serbia |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+---------------------------------------------------------------------+