This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: MySQL Questions.
- From: ArtÅras Moskvinas <arturas dot moskvinas at gmail dot com>
- To: Rob Waldrum <rob dot waldrum at gpi dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 12 Jul 2006 00:41:09 +0300
- Subject: Re: MySQL Questions.
- References: <44B40790.8090308@gpi.com>
> Hi guys,
>
> I'm developing a C program from a MS-DOS Command window (Client side),
> and have to use MySQL to open up a database on the Unix server side and
> read a table. Although I've been programming in C for nearly 20 years,
> and have used MySQL in PHP scripting a while back, I have never had to
> use MySQL in a C program before. I'm having some issues compiling, but
> more than that, what I need is just sample program or an example program
> that I can draw from so I can also get passed any issues once I've
> compiled and start accessing the database on the unix server. I would
> appreciate any help.
It is not the exactly right place to ask this question, you should ask
mysql mailing list...
Here is some examples:
http://www.geocities.com/jahan.geo/mysql_c_by_example.html
http://dev.mysql.com/doc/refman/4.1/en/apis.html
Arturas M.