How do I show a MySQL warning that just happened?

前端 未结 3 1531
执念已碎
执念已碎 2020-12-07 11:10

I just ran a simple MySQL CREATE TABLE statement that produced the line

\"Query OK, 0 rows affected, 1 warning (0.07 sec).\"

I

3条回答
  •  星月不相逢
    2020-12-07 11:35

    @HorusKol, do you have documentation for that? I couldn't find any. But I did find out that the command line option --show-warnings will do the job, according to the MySQL manual.

提交回复
热议问题