Silence “Query OK 0 row affected” output in mysql script

限于喜欢 提交于 2021-01-29 03:43:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!