Re: Unable to insert data in MYSQL using C.
Posted by: Gelu Gogancea
Date: July 27, 2010 05:25AM

Please to check after using mysql_real_query() with mysql_errno() the error number to understand from where is comming your problem.
You should check the connection parameters because when you use
stored procedure is expected to use more result set even if you use it only for insert some data. You must to set the flag CLIENT_MULTI_RESULTS in the mysql_real_connect() function.
Hope that it's help,

Options: ReplyQuote

Written By
Re: Unable to insert data in MYSQL using C.
July 27, 2010 05:25AM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.