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); ---

mysql and c

2005-07-31 Thread Christian Lee
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); - client: Code:

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

mysql and c program?

2001-06-22 Thread eagle
mysql hello all. I install mysql 3.23.32 on red hat 6.0 . I have a c program source as bellow: //* //insert_test.c #include #include #include "mysql.h" int main(int argc, char *argv[]) { MYSQL my_connection; int res; my

mysql and c program?

2001-06-22 Thread eagle
hello all. I install mysql 3.23.32 on red hat 6.0 . I have a c program source as bellow: //* //insert_test.c #include #include #include "mysql.h" int main(int argc, char *argv[]) { MYSQL my_connection; int res; mysql_in

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

MySQL and c++ API

2001-05-14 Thread dave
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 API MySQL++-1.7.8-1.i386.

Re: Linuux with mysql and c++ API

2001-02-22 Thread Jarle Rudihagen
Message - From: "Sinisa Milivojevic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <> Sent: Thursday, February 22, 2001 1:22 PM Subject: Re: Linuux with mysql and c++ API > Jarle Rudihagen writes: > > Linux with mysql and c++API > > > > I&#

Re: Linuux with mysql and c++ API

2001-02-22 Thread Sinisa Milivojevic
Jarle Rudihagen writes: > Linux with mysql and c++API > > I'am trying to connect to an Mysql database trough c++ API (1.7.8) > The program compiles just fine but when i try to run it I get the message > Segmentation fault core dump > > When I try to run t

Linuux with mysql and c++ API

2001-02-22 Thread Jarle Rudihagen
Linux with mysql and c++API I'am trying to connect to an Mysql database trough c++ API (1.7.8) The program compiles just fine but when i try to run it I get the message Segmentation fault core dump When I try to run the program with the strace command I can see that the program connec