0
0

More than 5 years have passed since last update.

mysql でwarningログを自動的に表示する

Posted at

これでwarningログが自動的に表示される。

mysql> \W
Show warnings enabled.
mysql> create table if not exists a(id int primary key);
Query OK, 0 rows affected (0.01 sec)

mysql> create table if not exists a(id int primary key);
Query OK, 0 rows affected, 1 warning (0.00 sec)

Note (Code 1050): Table 'b' already exists
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0