How do I v开发者_Python百科iew the warning(s) after a SELECT query? The result of one query is:
Empty set, 1 warning (0.01 sec)
I am using MySQL via command line on Linux.
Using the SHOW WARNINGS syntax
SHOW WARNINGS;
Type \W
in the MySQL command line.
精彩评论