Run SQL Script in C++
Posted by: amar wani
Date: April 14, 2013 04:03AM


I have myfile.sql file. In mysql I just type source myfile.sql to run the script. But how can I do it in C++? have tried using mysql_real_query() but doesnt work. Can anyone help me? Appreciate that. Thanks.

Options: ReplyQuote

Written By
Run SQL Script in C++
April 14, 2013 04:03AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.