Re: mysql and c

2005-08-01 Thread Philippe Poelvoorde
Christian Lee wrote: Hi all, is it possible to send from server to client a handle to MySQL connection. for example then i'm trying: server: Code: ... MYSQL mysql; mysql_init(&mysql); mysql_real_connect(&mysql,); ... send(socket,&mysql, sizeof(MYSQL),0); ---

Re: mysql and c program?

2001-06-22 Thread Laurent Oget
On Fri, Jun 22, 2001 at 04:54:17PM +0800, eagle wrote: > mysql > hello all. > I install mysql 3.23.32 on red hat 6.0 . > I have a c program source as bellow: > //* > gcc -I /usr/local/include/mysql mysql_test.c -L /usr/local/lib/mysql -lmysqlclient >-lz

Re: MySQL and c++ API

2001-05-14 Thread Sinisa Milivojevic
dave writes: > > Here's my problem. I'm new to the linux world. I've installed linux 7 on an > old pentium machine. I've gotten MySQL server started (safe_mysqld &) and > can work with the MySQL interface (mysql). What I want to do is code in c++ > against a MySQL database. I've downloaded the AP