List:General Discussion« Previous MessageNext Message »
From:Karam Chand Date:May 2 2005 2:26am
Subject:Re: C API: Storing is easy; How do you retrieve?
View as plain text  
The docs should have it.

Basically these API is what you require (in order):

mysql_init();
mysql_real_connect();
mysql_real_query();
mysql_store_result() or mysql_use_result();
mysql_fetch_row();
mysql_free_result;
mysql_close ();

HTH

--- Matthew Boehm <mboehm@stripped> 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 down. The
> problem I have is, how do
> I SELECT out the audio and store it to a file on the
> local disk?
> 
> Any examples? Sample code? Specific API functions I
> should look at?
> 
> I've seen how this is done using ODBC, but the ODBC
> code is really crappy
> and not at all as easy as MySQL API.
> 
> Thanks,
> Matthew
> 
> 
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:   
>
http://lists.mysql.com/mysql?unsub=1
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Thread
C API: Storing is easy; How do you retrieve?Matthew Boehm1 May
  • Re: C API: Storing is easy; How do you retrieve?Philippe Poelvoorde3 May
Re: C API: Storing is easy; How do you retrieve?Karam Chand2 May