2uzhan.com
Advertisement
Now Place:2uzhan.com » Is there any C API for mysqldump

Is there any C API for mysqldump

MySQL @ October 27, 2011   Views:0

Hi,

Setup details:

MySQL version- 5.5.13
Using Oracle MySQL enterprise utility to get advanced commands
OS : Redhat 5
Language : C

I need to backup the database (size will be huge), using MySQL API's in C.
I am not getting a API for "mysqldump" or "mysqlbackup"(in enterprise utility),

How to use "mysqldump" in C,
Note : with "System" command it works,I am trying avoid that one.

Please help me...

Thanks
Pavan

--------------Solutions-------------

> with "System" command it works,I am trying avoid that one.

Why? Hi Peter,

Sorry for delayed reply,
As per my understanding, With system command, we won't be having control on the process, Ex: We can't handle the error scenario's. At the max i think we can get the return of system, as '0' or anyother number.
With the API or anyother method, the dump process can be handled flexibly...

I hope I have answered your query, Please let me know if you need any other details.

Thanks
Pavan

Tags:
© 2018 2uzhan.com Contact