disable error message
We have Ubuntu 10.04.1 with mysql 5.1.63.
We have an application in c that queries the database.
We catch all the errors and put them in a file.
But we want to disable the error message that you get on the console if the program creates an invalid sql command e.g. "selfect * from can_commands".
The only way to disable this is to start the program with a >/dev/null on the command line.
Is there a way to suppress the message "error: You have an error in your SQL syntax; check the manual....."?
Thanks in advance.
-Warner-
Subject
Views
Written By
Posted
disable error message
1424
September 10, 2012 03:28PM
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.