Re: License question on libmysql.dll and C/C++ API Version 4.0 question about Victoria Reznichenko response

2012-06-18 Thread Shawn Green
Hello Claudia, On 6/18/2012 2:13 PM, Claudia Murialdo wrote: Hello, Y read this message: http://lists.mysql.com/mysql/109590 and I would like to ask for authorization but I don´t see the email address in that thread (it says: sales@stripped). Can someone tell me that email address?. Thanks in a

License question on libmysql.dll and C/C++ API Version 4.0 question about Victoria Reznichenko response

2012-06-18 Thread Claudia Murialdo
Hello, Y read this message: http://lists.mysql.com/mysql/109590 and I would like to ask for authorization but I don´t see the email address in that thread (it says: sales@stripped). Can someone tell me that email address?. Thanks in advance. Claudia.

Re: C api mysql_store_result vs mysql_use_result

2012-02-09 Thread Johan De Meersman
- Original Message - > From: "Alex Schaft" > > From the user's perspective, they just need to know the process didn't > hang. The count() query is more for getting memory requirements upfront. > Can I handle it all, or do I need to break it down into pages? Then just use the cursor-bas

Re: C api mysql_store_result vs mysql_use_result

2012-02-09 Thread Alex Schaft
On 2012/02/09 01:40 PM, Johan De Meersman wrote: - Original Message - From: "Alex Schaft" If I were to do a select count(*) from x where y prior to doing select * from x where y to get a number of records, how would this impact performance on the server itself? Would the first query be

Re: C api mysql_store_result vs mysql_use_result

2012-02-09 Thread Johan De Meersman
- Original Message - > From: "Alex Schaft" > > If I were to do a select count(*) from x where y prior to doing > select * from x where y to get a number of records, how would this impact > performance on the server itself? Would the first query be the one to > do the most processing, with

C api mysql_store_result vs mysql_use_result

2012-02-08 Thread Alex Schaft
Hi, I'm currently using mysql_store_result to retrieve all records of a query. This poses a problem however if say a couple of thousand records get returned, and the user gets no feedback during the progress. I now want to change this to mysql_use_result. The only catch is that you don't know

C++ API

2011-03-06 Thread Ruben Safir
OK - I see there is more than one C++ API for MYSQL. Which one would someone recommend and why? Ruben -- http://www.mrbrklyn.com - Interesting Stuff http://www.nylxs.com - Leadership Development in Free Software -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To

C api query vs. real_query vs. send_query

2010-08-15 Thread Surendra Singhi
Hi, I am doing some work on a nodejs/v8 bindings for libmysqlclient and ran into some questions while working on the asynchronous part of the interface. http://github.com/kreetitech/node-mysql-libmysqlclient The documentation says that: "mysql_query() cannot be used for statements that contain b

Re: C API Function for count(*)

2010-05-15 Thread Tim Johnson
* Bob Cole [100515 06:58]: > You might get closer to what you want if you put your command in a text file > and run it from the command line. > On a Mac OS X, I put a similar command: > select count(*) from testTable; > into a small text file: > testCount.txt > and ran this command fro

Re: C API Function for count(*)

2010-05-15 Thread Tim Johnson
* Dan Nelson [100514 21:38]: > > You can't do it with one function call, but you can do it, since the MySQL > cli was able to print "16" in your example above, and it was written in C. > Take a look at mysql_store_result(), mysql_num_fields(), > mysql_field_count(), mysql_fetch_row(), and mysql_

Re: C API Function for count(*)

2010-05-15 Thread Bob Cole
>> >> I am working with a relatively new API written in a programming language >> with a small user base (newlisp). The newlisp API imports a number of C >> API functions from the system MySQL shared object. >> >> If I were to issue a count(*) query from my monit

Re: C API Function for count(*)

2010-05-14 Thread Dan Nelson
In the last episode (May 14), Tim Johnson said: > I have MySQL version 5.0.84 on linux slackware 13.0 32-bit. > > I am working with a relatively new API written in a programming language > with a small user base (newlisp). The newlisp API imports a number of C > API functions

C API Function for count(*)

2010-05-14 Thread Tim Johnson
I have MySQL version 5.0.84 on linux slackware 13.0 32-bit. I am working with a relatively new API written in a programming language with a small user base (newlisp). The newlisp API imports a number of C API functions from the system MySQL shared object. If I were to issue a count(*) query

MySQL Bin Log Position C API

2009-11-13 Thread Dave Juntgen
Hello everyone, Is there a way to get the last bin pos of a write using the C API? I'm wanting to use this for MASTER / SLAVE load balancing check. For example: M = Master S = Slave W = Write Q = Query W->M (get write bin pos). Now right after insert go query that rec and try

Re: Retrieving results of a stored function using MySql C API

2009-04-16 Thread Moon's Father
nction using MySql C API. > > Kindly let me know how to do so. In case you need details I'll share > the source code. > > Cheers, > Venu > -- I'm a MySQL DBA in china. More about me just visit here: http://yueliangdao0608.cublog.cn

Retrieving results of a stored function using MySql C API

2009-04-15 Thread Venu Gopal
Hi guys, I am using stored procedures and stored functions for the first time. And currently stuck at a this point where. I am unable to retrieve results returned by stored function using MySql C API. Kindly let me know how to do so. In case you need details I'll share the source code. C

Re: when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread walter harms
Kevin Stevens schrieb: > ello, > I am encountering a problem I just can't seem to figure out and I am out of > ideas. I can compile and run fine on one linux box running Mysql 5.1.23-rc, > but as soon as I scp the binary and its required libs to another machine > which has identical hardware a

Re: when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread Micah Stevens
A working server relies on the MySQL binary, and system libraries, and the hardware itself. From your description you don't address the library compatibility. Have you ensured that your set of libraries is the same? -Micah On 10/29/2008 11:15 AM, Kevin Stevens wrote: ello, I am encountering a

when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread Kevin Stevens
ello, I am encountering a problem I just can't seem to figure out and I am out of ideas. I can compile and run fine on one linux box running Mysql 5.1.23-rc, but as soon as I scp the binary and its required libs to another machine which has identical hardware and only a slightly upgraded distro

Re: C api - mysql_list_fields

2008-10-07 Thread Joerg Bruehe
Mike, all, Mike Aubury wrote: > [[...]] > > So - the next question is... > Is there anyway in code I can find the 'fiddle' factor (1,3,or now possibly > 4) > that I need to use to divide by to get back to the character width specified > in the CREATE TABLE ? In the "information_schema" data

Re: C api - mysql_list_fields

2008-10-07 Thread Mike Aubury
Basically - so I can display it in the same form as the orginal table.. Or - if you want the longer version I work with an Opensource project called 'Aubit4GL' (its a clone of Informix4GL - which allows you to write really nice screen based database oriented programs + reports), see http://s

Re: C api - mysql_list_fields

2008-10-07 Thread walter harms
Mike Aubury schrieb: > Excellent - this seems to be the issue - the show create table shows : > > mysql> show create table a\g > +---++ > | Table | Create > Table

Re: C api - mysql_list_fields

2008-10-07 Thread Mike Aubury
Excellent - this seems to be the issue - the show create table shows : mysql> show create table a\g +---++ | Table | Create Table

Re: C api - mysql_list_fields

2008-10-07 Thread Joerg Bruehe
Hi Mike, all, Mike Aubury wrote: > I'm probably being a bit stupid - but I'm trying to determine (in code) the > length of the string in the schema for a given table. > > So - for example : > > > create table a ( > blah char(20) > ) > > > I want to return '20', bu

Re: C api - mysql_list_fields

2008-10-07 Thread Simon J Mudd
[EMAIL PROTECTED] (Mike Aubury) writes: > I'm probably being a bit stupid - but I'm trying to determine (in code) the > length of the string in the schema for a given table. > > So - for example : > > > create table a ( > blah char(20) > ) > > > I want to return '2

Re: C api - mysql_list_fields

2008-10-07 Thread Doug Bridgens
It works for me, I used your code: Field =mycol Type=254 Length=20 so at least your code is fine, and the problem must be somewhere else. I am using RH EL3. cheers, Doug On 6 Oct 2008, at 19:52, Mike Aubury wrote: I'm probably being a bit stupid - but I'm trying to determine (in code)

C api - mysql_list_fields

2008-10-06 Thread Mike Aubury
I'm probably being a bit stupid - but I'm trying to determine (in code) the length of the string in the schema for a given table. So - for example : create table a ( blah char(20) ) I want to return '20', but I'm getting '60' when I use mysql_list_fields.. (Al

Re: unescaping strings with the C api

2008-06-12 Thread Tim Johnson
On Thursday 12 June 2008, David Giragosian wrote: > The same is true of mysql_real_escape_string() in PHP. You escape > special characters upon update or insertion, but upon viewing the data > in the DB or retrieving it programmatically, the data simply appear as > it was originally before use of

Re: unescaping strings with the C api

2008-06-12 Thread David Giragosian
gt; > > > My perspective is a little different from yours: as the maintainer of > > MySQL++ (http://tangentsoft.net/mysql++/), I have never actually used > > the C API directly. I don't have any pure C sample code here to tweak > > to try things. > Me neither - n

Re: unescaping strings with the C api

2008-06-12 Thread Tim Johnson
;, I will retrieve "headline\\one", and that will > > need to be unescaped, because it is not a true representation > > of what was submitted by the original insert. > > My perspective is a little different from yours: as the maintainer of > MySQL++ (http://tangent

Re: unescaping strings with the C api

2008-06-12 Thread Warren Young
use it is not a true representation of what was submitted by the original insert. My perspective is a little different from yours: as the maintainer of MySQL++ (http://tangentsoft.net/mysql++/), I have never actually used the C API directly. I don't have any pure C sample code here to twea

Re: unescaping strings with the C api

2008-06-12 Thread Tim Johnson
On Thursday 12 June 2008, Warren Young wrote: > Tim Johnson wrote: > > I can not locate a C api function to _unescape_ strings. > > Why do you believe you need one? > > You need to escape strings when building SQL query strings to avoid > problems with quote characters,

Re: unescaping strings with the C api

2008-06-12 Thread Warren Young
Tim Johnson wrote: I can not locate a C api function to _unescape_ strings. Why do you believe you need one? You need to escape strings when building SQL query strings to avoid problems with quote characters, which are special in SQL. When MySQL returns the queried data to your program

unescaping strings with the C api

2008-06-12 Thread Tim Johnson
Using MySQL 5.0.45 on linux. For the first time I am using the C API directly. I am using mysql_real_escape_string() - see http://dev.mysql.com/doc/refman/5.1/en/mysql-real-escape-string.html I can not locate a C api function to _unescape_ strings. If there were one, I would use it. If I have

Re: C API routines and cobol

2008-04-25 Thread Warren Young
Michael wrote: Has anyone successfully called the C API routines for MySQL from COBOL? Dude, April 1 was, like, a month ago now. You may have better luck finding an ODBC bridge for your COBOL environment, which let you access MySQL indirectly. -- MySQL General Mailing List For list

C API routines and cobol

2008-04-23 Thread Michael
Has anyone successfully called the C API routines for MySQL from COBOL? If so how are the parms defined in COBOL? -- Michael Anderson, J3k Solutions Sr.Systems Programmer/Analyst 832.515.3868 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

C API field type values are inacurate - help

2007-04-04 Thread Alan Nilsson
I have noticed that when using the C API that in certain instances the field 'type' constant is not correct. When a value is returned from a 'TEXT' type field it is reported as a 'BLOB' type. I realize that a TEXT is an extension of a BLOB, but, since they ar

Is there C API function to convert the MYSQL_ROW items from string to Language specified type?

2007-01-21 Thread David
Hi all: Is there a C API function to convert the MYSQL_ROW items from string to Language specified type? I thought there should be one, but I can't find it. Could you give me some advice? Appreciate your help! -- David

C API & blobs

2006-12-08 Thread Mike Aubury
Can anyone point me in the direction of some examples of using the libmysqclient API for reading/writing blobs ? I'm currently reading the data from some dynamic SQL using mysql_stmt_bind_result & mysql_stmt_fetch - and want to add the BLOB datatypes TIA -- Mike Aubury -- MySQL Gener

mysql_server_init(), C API, And Dying Processes

2006-11-10 Thread David T. Ashley
What happens if I use the C API of MySQL and the process dies (maybe a pointer error or something)? a)Will the connection be killed automatically? b)What about "LOCK TABLES" and similar statements that were issued ... will the locks clear automatically? Thanks.

Re: Does new Community version change C API licensing?

2006-10-30 Thread Warren Young
Kaj Arnö wrote: So: For client licensing, nothing as changed -- but stay tuned for an announcement next week! Did I miss it? It's been almost 2 weeks, and I don't see anything in the MySQL press release archive or your blog. -- MySQL General Mailing List For list archives: http://lists.my

Re: C API - Mysql 5

2006-10-25 Thread Gabriel Linder
Hello, Did you try to convert the .lib file to a GCC .a library ? See http://mingw.org/mingwfaq.shtml#faq-msvcdll If reimp doesn't work, you can try pexports and dlltool. I have an old batch file I used for older MySQL versions at http://athanatos.free.fr/EXE/implib.bat [EMAIL PROTECTED]

C API - Mysql 5

2006-10-25 Thread Vincent . Badier
Hello, I'm trying to compile some C code with the simple following code (dev-c++): #include #include #include #include int main(int argc, char *argv[]) { MYSQL * mysql_con = NULL; mysql_con = mysql_init(mysql_con); return 0; } As the result, i obtain this : gcc.exe -D__DEBUG__ main.

Re: Does new Community version change C API licensing?

2006-10-17 Thread Kaj Arnö
e new Community vs. Enterprise version stuff as I can find, and I don't see an answer to this question. Basically, I want to know if the MySQL C API is still dual licensed, under the GPL and the MySQL commercial license. If so, I don't see how this new model is any different than

Does new Community version change C API licensing?

2006-10-17 Thread Warren Young
I've looked over as much of the information on the new Community vs. Enterprise version stuff as I can find, and I don't see an answer to this question. Basically, I want to know if the MySQL C API is still dual licensed, under the GPL and the MySQL commercial license. If so, I don

Re: MySQL C API: dedicated per-connections in the mutlithreading program

2006-09-08 Thread Andrew W. Nosenko
On 9/8/06, Philippe Poelvoorde <[EMAIL PROTECTED]> wrote: 2006/9/8, Andrew W. Nosenko <[EMAIL PROTECTED]>: > Sorry, but documentation on the MySQL C API say nothing about many > interesting questions. > > The one of them: is it safe (or unsafe) to use non-MT client l

Re: MySQL C API: dedicated per-connections in the mutlithreading program

2006-09-08 Thread Philippe Poelvoorde
2006/9/8, Andrew W. Nosenko <[EMAIL PROTECTED]>: Sorry, but documentation on the MySQL C API say nothing about many interesting questions. The one of them: is it safe (or unsafe) to use non-MT client library (libmysqlclient.*, as opposite to the MT-aware libmysqlclient_r.*) f

MySQL C API: dedicated per-connections in the mutlithreading program

2006-09-08 Thread Andrew W. Nosenko
Sorry, but documentation on the MySQL C API say nothing about many interesting questions. The one of them: is it safe (or unsafe) to use non-MT client library (libmysqlclient.*, as opposite to the MT-aware libmysqlclient_r.*) for the multithreading programs in case when every parallel mysql

RE: How to call stored procedures using C API

2006-08-21 Thread Gelu Gogancea
Hi again folks, The problem is solved.Was entirely my fault because i didn't check the version of mysqlclient library. -Original Message- From: Gelu Gogancea Sent: Monday, 21 August, 2006 12:47 PM To: mysql@lists.mysql.com Subject: How to call stored procedures using C API Hi t

How to call stored procedures using C API

2006-08-21 Thread Gelu Gogancea
if is some one which have experience whith the handling store procedures using MySQL C API, to give me a solution. I use mysql-5.0.2x on Fedora 5. Thank you, -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

FW: Mysql C API character set

2006-04-12 Thread He, Gang
From: He, Gang Sent: Wednesday, April 12, 2006 8:43 PM To: '[EMAIL PROTECTED]' Subject: Mysql C API character set Hi, I install MySQL server 4.1.12 in Redhat Linux in Japanese environment ( env LANG=ja_JP.UTF-8 ), I setup MySQL s

C API Prepared Statement Data types with unsigned int

2006-03-29 Thread 古雷
mysql> desc MSGDB_20060330; +---+-+--+-+-+---+ | Field | Type| Null | Key | Default | Extra | +---+-+--+-+-+---+ | CREATETIME| char(14)| NO | |

Re: insert my_ulonglong data with C API

2006-03-15 Thread 古雷
arch 15, 2006 11:27 PM Subject: Re: insert my_ulonglong data with C API > In the last episode (Mar 15), ?? said: >> Thanks a lot! But my test is not successful. Please help me. This is >> my test code: >> >> #ifdef WIN32 >> #include >> #endif >> &

Re: insert my_ulonglong data with C API

2006-03-15 Thread Dan Nelson
In the last episode (Mar 15), ?? said: > Thanks a lot! But my test is not successful. Please help me. This is > my test code: > > #ifdef WIN32 > #include > #endif > > #include "mysql.h" > #include > main() > { > union ull { > unsigned char a[8]; > my_ulonglong id; > } ull; > for(int

Re: insert my_ulonglong data with C API

2006-03-15 Thread Pooly
Hi, 2006/3/15, 古雷 <[EMAIL PROTECTED]>: > Thanks a lot! > But my test is not successful. Please help me. > This is my test code: > > #ifdef WIN32 > #include > #endif > > #include "mysql.h" > #include > main() > { > union ull { > unsigned char a[8]; > my_ulonglong id; > } ull; > for(int i=

Re: insert my_ulonglong data with C API

2006-03-15 Thread 古雷
]> Cc: Sent: Wednesday, March 15, 2006 3:34 PM Subject: Re: insert my_ulonglong data with C API > In the last episode (Mar 15), said: >> Hello,everyone! >> >> My table has a bigint column which needs store 8bytes integer. >> >> I looked up in Mysql Menual.

Re: insert my_ulonglong data with C API

2006-03-14 Thread Dan Nelson
In the last episode (Mar 15), said: > Hello,everyone! > > My table has a bigint column which needs store 8bytes integer. > > I looked up in Mysql Menual. It seems that , if I use C API I can > only use preapared statement functions to insert bigint values. > > I can

insert my_ulonglong data with C API

2006-03-14 Thread 古雷
Hello,everyone! My table has a bigint column which needs store 8bytes integer. I looked up in Mysql Menual. It seems that , if I use C API I can only use preapared statement functions to insert bigint values. I can not use mysql_real_query or mysql_query to insert bigint values because I do

Simple libmysql C API tutorial needed

2006-02-28 Thread Dirk
Hi! I already wrote a wrapper for unixodbc... Now I would like to skip odbc and connect to mysql directly... AFAIK that is done using libmysql, right? I looked at the www.mysql.com buzzword-bloat for 15 seconds before I decided to subscribe here and just ask instead (I'm one of those too-long-didn

MySQL C API: binding parameters to prepared statements

2006-02-09 Thread Kish Shen
Hi, I am trying to convert a Oracle 7 interface (from our Constraint Logic Programming Platform ECLiPSe) to MySQL. [I guess I should also say that I don't really have any experience with programming any database API previously, so please excuse me if this seems to be a basic question] The inte

C API - mysql_fetch_fields()

2006-01-12 Thread Dave Weingart
#x27;d The particular call in the source code is fields = mysql_fetch_fields(res); where fields is defined as MYSQL_FIELD *fields; Can anyone with more familiarity with the C API internals tell me whether or not mysql_fetch_fields() allocates space for the pointer it returns? This

Re: How to call C API functions from MS Access ?

2005-10-03 Thread C.R. Vegelin
the mySQL error messages: For Each adbError In conn.Errors MsgBox adbError.Description, vbCritical Next It's working ! Thanks again, Cor - Original Message - From: <[EMAIL PROTECTED]> To: "C.R. Vegelin" <[EMAIL PROTECTED]> Cc: Sent: Monday, October 03, 2

Re: How to call C API functions from MS Access ?

2005-10-03 Thread SGreen
"C.R. Vegelin" <[EMAIL PROTECTED]> wrote on 10/01/2005 03:51:41 AM: > Hi List, > > I want to call the C API functions from Visual Basic in MS Access 2003. > I assume that I have to use: "c:\Program Files\MySQL\MySQL Server 4. > 1\Bin\LibMySQL.dll". >

How to call C API functions from MS Access ?

2005-10-01 Thread C.R. Vegelin
Hi List, I want to call the C API functions from Visual Basic in MS Access 2003. I assume that I have to use: "c:\Program Files\MySQL\MySQL Server 4.1\Bin\LibMySQL.dll". In my code at module level I have included various code lines to declare entry-points, such as: Declare Function

Re: C API - Language Setup and MyISAM table setup

2005-08-22 Thread Warren Young
Fábio Emilio Costa wrote: I'm working in a project in C++ using MySQL C API (Win98/Dev-C++ 4.9.9.8/MySQL DevPak/MySQL 4.1.13) and I want to know if it's possible to setup the server environment language (--language) via mysql_options() function. It seems that you are actually aski

C API - Language Setup and MyISAM table setup

2005-08-19 Thread Fábio Emilio Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I'm working in a project in C++ using MySQL C API (Win98/Dev-C++ 4.9.9.8/MySQL DevPak/MySQL 4.1.13) and I want to know if it's possible to setup the server environment language (--language) via mysql_options() function. Also, I want

Re: mysql_hex_string() c-api

2005-08-16 Thread Danny Stolle
I thought it was something like that ... I just found it strange allready. I'll give it a try, thanx. Danny Paul DuBois wrote: At 19:43 +0200 8/16/05, Danny Stolle wrote: Hello all, can somebody explain to me the c-api mysql_hex_string(). when i debug my example in DDD i get the ful

Re: mysql_hex_string() c-api

2005-08-16 Thread Paul DuBois
At 19:43 +0200 8/16/05, Danny Stolle wrote: Hello all, can somebody explain to me the c-api mysql_hex_string(). when i debug my example in DDD i get the full sql-dml (insert) as a hex-value; which this function returns. putting a 0x in front of the hex and use it in a mysql_real_query

mysql_hex_string() c-api

2005-08-16 Thread Danny Stolle
Hello all, can somebody explain to me the c-api mysql_hex_string(). when i debug my example in DDD i get the full sql-dml (insert) as a hex-value; which this function returns. putting a 0x in front of the hex and use it in a mysql_real_query() returns an error. or am i doing it wrong! should

Re: MySQL C API Version incompatibility

2005-08-11 Thread Warren Young
Sujay Koduri wrote: I was connecting to MySQL 5.0.4 through the C API and it was workign fine. But when I downgraded to MYSQL 4.1.13, the same code is giving the following error. Try rebuilding your program against the v4.1 APIs. -- MySQL General Mailing List For list archives: http

MySQL C API Version incompatibility

2005-08-10 Thread Sujay Koduri
hi, I was connecting to MySQL 5.0.4 through the C API and it was workign fine. But when I downgraded to MYSQL 4.1.13, the same code is giving the following error. mysql_stmt_bind_result() failed Using unsupported buffer type: 0 (parameter: 1) I tried uninstalling all the existing mysql

Re: Problem with C API

2005-07-26 Thread picoman
Sorry to disturb you, i have resolved my problem by using other mysql headers! Selon [EMAIL PROTECTED]: > > > Hi all, > > i try to use the C API but i get a segmentation fault... > > my code looks like : > > MYSQL mysql; > if( ! mysql_init(&mysql) ) >

Problem with C API

2005-07-26 Thread picoman
Hi all, i try to use the C API but i get a segmentation fault... my code looks like : MYSQL mysql; if( ! mysql_init(&mysql) ) exit(0); if( ! mysql_real_connect(&mysql,"localhost","user","xxx","",3306,NULL,0) ) exit(0); if( mysql_select_d

Re: unicode and C API

2005-05-24 Thread Warren Young
it to do? I ask because that string is probably already in UTF-8 form, if your text editor is UTF-8 aware. The common Unix text editors are, as is the editor in the Visual Studio IDE. I've done very similar things with MySQL++, the C++ wrapper for the C API, which I maintain. http://tange

unicode and C API

2005-05-24 Thread Patrice Serrand
Hello, I have an InnoDB table running on MySQL 4.1.11 The MySQL server configuration use : default-character-set=utf8 I have a table unicode_tbl with 'default charset set utf8' and a field szWord varchar(50) character set utf8 collate utf8_general_ci. if I use the C API

Re: C API : Problem using multi-statements

2005-05-06 Thread Jeremiah Gowdy
doh! need another redbull. :) - Original Message - From: "Reggie Burnett" <[EMAIL PROTECTED]> To: "'Jeremiah Gowdy'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; Sent: Friday, May 06, 2005 9:31 AM Subject: RE: C API : Problem using mu

RE: C API : Problem using multi-statements

2005-05-06 Thread Javier Diaz
: Re: C API : Problem using multi-statements Answer is simple. Can't do that. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, May 06, 2005 5:40 AM Subject: C API : Problem using multi-statements Hello, I have some problems using multiple queries in a datab

RE: C API : Problem using multi-statements

2005-05-06 Thread Reggie Burnett
Jeremiah I don't use the client library in my work but this should work from 4.1 on. -Reggie -Original Message- From: Jeremiah Gowdy [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 11:19 AM To: [EMAIL PROTECTED]; mysql@lists.mysql.com Subject: Re: C API : Problem

Re: C API : Problem using multi-statements

2005-05-06 Thread Jeremiah Gowdy
Answer is simple. Can't do that. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, May 06, 2005 5:40 AM Subject: C API : Problem using multi-statements Hello, I have some problems using multiple queries in a databased driven project, therefore I wro

C API : Problem using multi-statements

2005-05-06 Thread ganjineh
Hello, I have some problems using multiple queries in a databased driven project, therefore I wrote a little testprogram which causes the same problems. I am using the C-API of MySQL 4.1.11 on a Gentoo Linux 3.3.2-r5, propolice-3.3-7 with 2.4.27 kernel. I connect to the server (on localhost

Re: C API: Storing is easy; How do you retrieve?

2005-05-03 Thread Philippe Poelvoorde
Matthew Boehm wrote: Hey guys, (Why is there no C API specific list?) I want to write a C application that can take some audio file, store it in MySQL, then at a later date/time (upon request) pull from db and write to temporary file to be streamed. I've got the storing portion of the code

Re: C API: Storing is easy; How do you retrieve?

2005-05-01 Thread Karam Chand
Hey guys, > (Why is there no C API specific list?) > > I want to write a C application that can take some > audio file, store it in > MySQL, then at a later date/time (upon request) pull > from db and write to > temporary file to be streamed. > > I've got the storing

C API: Storing is easy; How do you retrieve?

2005-05-01 Thread Matthew Boehm
Hey guys, (Why is there no C API specific list?) I want to write a C application that can take some audio file, store it in MySQL, then at a later date/time (upon request) pull from db and write to temporary file to be streamed. I've got the storing portion of the code down. The problem I

Re: MySQL C API problems

2005-03-25 Thread Andrew Prock
On Fri, 25 Mar 2005, Andrew Prock wrote: > On Fri, 25 Mar 2005, Michael Stassen wrote: > > > Password hashing was changed in 4.1 to improve authentication security, but > > this complicates backward compatibility. See the manual for details: > >

Re: MySQL C API problems

2005-03-25 Thread Andrew Prock
On Fri, 25 Mar 2005, Michael Stassen wrote: > Password hashing was changed in 4.1 to improve authentication security, but > this complicates backward compatibility. See the manual for details: > >

Re: MySQL C API problems

2005-03-25 Thread Michael Stassen
ink your app against the 4.1 client library. Michael Andrew Prock wrote: I'm having some difficulty with a program I wrote which uses the MySQL C api. I'm trying to migrate my server from version 4.0 to version 4.1. I have no difficulty connecting to the server using the mysql.exe command line u

MySQL C API problems

2005-03-25 Thread Andrew Prock
I'm having some difficulty with a program I wrote which uses the MySQL C api. I'm trying to migrate my server from version 4.0 to version 4.1. I have no difficulty connecting to the server using the mysql.exe command line utility, but when I try to connect from my program usin

Program using MySQL C api crashes

2005-01-25 Thread Eric Lilja
Hello, I'm a newcomer to MySQL and to databases in general. I'm using MySQL 4.1.9 on a x86-system running Windows XP Pro SP2. I am trying to use the MySQL C api and I've made the following test program in C (hope the indentation isn't lost): #include #include #incl

RE: Where can I download The MySQL C API??

2005-01-25 Thread Ian Gibbons
On 25 Jan 2005 at 16:07, Shuva, Judith wrote: > Hi J.R. > > Thanks for your answer. > > I saw that the API suppose to be in the MySQL server, so I downloaded > mysql-essential-4.1.9-win32.msi, but after the installation, I can't > find the API in the MySQL folder... > > Please, HELP! Hi, Th

RE: Where can I download The MySQL C API??

2005-01-25 Thread Karam Chand
I am not sure what you mean by "getting MySQL C API". The API are built in libmysql.lib and libmysql.dll or mysqlclient.lib. The header files are in include directory. Just include them in your project and start coding. Hope I was of help. Karam --- "Shuva, Judith" <[

FW: Where can I download The MySQL C API??

2005-01-25 Thread J.R. Bullington
Here's a little more info for you. http://dev.mysql.com/doc/mysql/en/c.html J.R. -Original Message- From: Shuva, Judith [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 9:08 AM To: mysql@lists.mysql.com; J.R. Bullington Subject: RE: Where can I download The MySQL C API?

RE: Where can I download The MySQL C API??

2005-01-25 Thread Shuva, Judith
: J.R. Bullington [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 3:55 PM To: mysql@lists.mysql.com Cc: Shuva, Judith Subject: RE: Where can I download The MySQL C API?? http://dev.mysql.com/downloads/ Please note the section of Official APIs # Application Programming Interfaces

RE: Where can I download The MySQL C API??

2005-01-25 Thread J.R. Bullington
http://dev.mysql.com/downloads/ Please note the section of Official APIs # Application Programming Interfaces (APIs) * Official APIs: o The C API is included with the server, above. J.R. -Original Message- From: Shuva, Judith [mailto:[EMAIL PROTECTED] Sent: Tuesday

Where can I download The MySQL C API??

2005-01-25 Thread Shuva, Judith
Hi, I just downloaded mysql-essential-4.1.9-win32.msi, and as I understood, the C API supposes to be in here. Where exactly? I can't find it Thanks, __ Judith Shuva

Re: mySQL C++ API (which libraries)

2005-01-11 Thread Karam Chand
The one supported by MySQL AB and the best till date is MySQL C API (well its best because I am C developer). It is the speediest too. I think you should find wrappers over the C API() over the net. If not then you can develop one for yourself and probably release it in GNU. Regards, Karam

mySQL C++ API (which libraries)

2005-01-11 Thread Andy Ford
Hi fellow developers ... I'm about to move my Perl code to C++ for security. Which mySQL libraries are the best ones to use? There are so may available I thought I'd consult the community in the know! Thanks Andy -- perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=http://lists.mysql.com/mysql To unsubs

Re: MySQL C API questions

2004-12-06 Thread Aftab Jahan Subedar
Hey check the MySQL C API By Example site. http://www.geocities.com/jahan.geo Yes you have to convert the data always and its zero terminated. Mads Kristensen wrote: Hi all. I'm using the MySQL C API to interface with my MySQL 4.1 server and I have the following questions: When I do a SELE

RE: MySQL C API questions

2004-12-06 Thread Dave Juntgen
TED] > Sent: Monday, December 06, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: MySQL C API questions > > Hi all. > > I'm using the MySQL C API to interface with my MySQL 4.1 server and I > have the following questions: > > When I do a SELECT of some integ

MySQL C API questions

2004-12-06 Thread Mads Kristensen
Hi all. I'm using the MySQL C API to interface with my MySQL 4.1 server and I have the following questions: When I do a SELECT of some integer data value what is actually returned is a string representation of the integer value and since I need this integer value in my client I have to co

Still problems with blocking sockets with c-api

2004-11-22 Thread jk1103
I noticed that all mysql client programs i have (cmd line tool mysql and own applications) block when the connection to a server is physically cut. 1. make connection 2. do some querys 3. line cut 4. mysql_ping() or mysql_query() block the application forever a strace from mysql cli-tool shows th

  1   2   3   4   5   6   7   >