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

Hi,
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,
Regards,

Options: ReplyQuote


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


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.