Re: Connecting to MySQL using C API

2004-11-15 Thread Aftab Jahan Subedar
Have you tried my MySQL C API Site ? I have posted some C API examples here. http://www.geocities.com/jahan.geo Aftab Jahan Subear Subedar Technologies Subedar Baag Bibir Bagicha #1 North Jatrabari Dhaka 1204 Bangladesh http://www.DhakaStockExchangeGame.com Tel: +880-2-7519050 /* Get customized T

Connecting to MySQL using C API

2004-11-14 Thread premal mishra
I'm using MySQL version 4.0.20a on win98. Compiler is Bloodshed Dev-C++ version 4. My program compiles and links but gives a page fault error on running. I'm linking the '\mysql\lib\opt\mysqlclient.lib' file. Linker gives the warning ignoring duplicate section '.text' CODE: #include

Re: Connecting to MySQL using C API

2004-11-14 Thread Paul DuBois
At 21:20 + 11/14/04, premal mishra wrote: I'm using MySQL version 4.0.20a on win98. Compiler is Bloodshed Dev-C++ version 4. My program compiles and links but gives a page fault error on running. I'm linking the '\mysql\lib\opt\mysqlclient.lib' file. Linker gives the warning ignoring

MySQL 5 C API prepared Statments errors

2004-03-10 Thread Arunachalam
Hi, As I declared that COBOL can able to communicate with MySQL via it's C API routines. Currently i have used MySQL 5.0.0-alpha and involved in the usage of prepared statement C API. When I implement this calling from COBOL shows this error and reset the MySQL server. (reset -- stop

Strange network error using mysql,mysql c api

2002-08-16 Thread Krata
Hi, i am using mysql c api to send some queries to mysql server which is on another computer (100MBit almost next to the client) in my code i am doing this if (mysql_real_query(mysql,query,strlen(query))) { fprintf(stderr,In query : \%s\\n,query

Strange network error using mysql,mysql c api

2002-08-16 Thread Krata
Hi, i am using mysql c api to send some queries to mysql server which is on another computer (100MBit almost next to the client) in my code i am doing this if (mysql_real_query(mysql,query,strlen(query))) { fprintf(stderr,In query : \%s\\n,query

Re: Strange network error using mysql,mysql c api

2002-08-16 Thread Victoria Reznichenko
Krata, Friday, August 16, 2002, 5:10:20 PM, you wrote: K Hi, K i am using mysql c api to send some queries to mysql server which is on K another computer (100MBit almost next to the client) K in my code i am doing this K if (mysql_real_query(mysql,query,strlen(query))) K { K

Re: Strange network error using mysql,mysql c api

2002-08-16 Thread Krata
On Fri, 16 Aug 2002, Victoria Reznichenko wrote: K do someone know what should be the problem? K Server is Win2K and has latest mysql server installed client is the one K from RedHat 7.3 (3.23.49) (=`mysql_config --version`) Do you always get this error or you got it just once? well i

Re: Strange network error using mysql,mysql c api

2002-08-16 Thread Gelu Gogancea
,mysql c api On Fri, 16 Aug 2002, Victoria Reznichenko wrote: K do someone know what should be the problem? K Server is Win2K and has latest mysql server installed client is the one K from RedHat 7.3 (3.23.49) (=`mysql_config --version`) Do you always get this error or you got it just

insert a large object into mysql with C++ API

2002-06-08 Thread Shaorong Liu
Hi, I tried to insert some large objects into mysql databse with mysql++. But the problem aborted after only inserting one large object and there is always a segmentation fault. Anybody met such problems before? And any suggestion? Thanks!

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 API

RE: Performance MySQL with C-API

2001-05-09 Thread Manuel Barrientos
: Performance MySQL with C-API Hi, I've got a couple a questions concerning the speed of insert queries when using the C API from MySQL. I've written an application that receives data through a CORBA event channel and stores it in a MySQL database. The problem is that a lot of events

Re: Performance MySQL with C-API

2001-05-09 Thread Rene Tegel
methods is great. Hope this will be useful. Best regards. -- De: Raf Geusens[SMTP:[EMAIL PROTECTED]] Enviado el: martes 8 de mayo de 2001 14:27 Para: [EMAIL PROTECTED] Asunto: Performance MySQL with C-API Hi, I've got a couple

Performance MySQL with C-API

2001-05-08 Thread Raf Geusens
Hi, I've got a couple a questions concerning the speed of insert queries when using the C API from MySQL. I've written an application that receives data through a CORBA event channel and stores it in a MySQL database. The problem is that a lot of events are dropped. I think (I'm quite sure

Re: Performance MySQL with C-API

2001-05-08 Thread Ansgar Becker
insert 200 strings + timestamps a second through the API. Does that sound too less or am I expecting too much? Do benchmarks or test results for the C API exist? If someone has more experience on this or knows a place where I can find out more, plz let me know. I just ran this test on a

RE: Performance MySQL with C-API

2001-05-08 Thread Brandon Lewis
PROTECTED]] Sent: Tuesday, May 08, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: Re: Performance MySQL with C-API insert 200 strings + timestamps a second through the API. Does that sound too less or am I expecting too much? Do benchmarks or test results for the C API exist? If someone has more

Re: Performance MySQL with C-API

2001-05-08 Thread Ansgar Becker
Could you have a better disk environment on the Solaris machine versus the win32-machine? The Solaris machine was a little bit slower executing the query, but it runs as a production-webserver and there is much more load on it than on my win32-test-machine. query that inserted 1 string

Re: MySQL Visual C++ API problems

2001-04-25 Thread Kristian Lukander
Hi! I'm having problems compiling the example programs provided with the MySQL++ API package on MS Visual C++ 6.0. The compiler reports errors on longlongs. Does anybody know hot to get around this? What files should be included in the project? Thanks in advance on any info,

Re: MySQL Visual C++ API problems

2001-04-25 Thread Sinisa Milivojevic
Kristian Lukander writes: Hi! I'm having problems compiling the example programs provided with the MySQL++ API package on MS Visual C++ 6.0. The compiler reports errors on longlongs. Does anybody know hot to get around this? What files should be included in the project? Thanks in

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 connects

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 the program with the strace command I

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'am trying to connect to an Mysql database trough c++