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);
---
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:
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
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
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
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
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.
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
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
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
10 matches
Mail list logo