LoginSignup
9
9

More than 5 years have passed since last update.

MySQLでどんなクエリが流れているか知りたい

Posted at

MySQL でどんなクエリが流れているか知りたい時には General Query Log が便利です.

使い方

> show variables like 'general_log%';
> SET GLOBAL general_log = 'ON';

general_log_file のファイル名でどんどん書かれていきます.

9
9
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
9
9