问题
I have a MySQL script that creates several stored procedures. I would like to silence the
"Query OK, 0 rows affected (0.00 sec)"
message that appears when I run
source MY_SCRIPT.sql;
It becomes a long list and I sometimes forget to scroll up and check for syntax errors during development. Is there a way to silence this without silencing error messages? Thanks
来源:https://stackoverflow.com/questions/25296752/silence-query-ok-0-row-affected-output-in-mysql-script