How to profile MySQL

前端 未结 5 1124
猫巷女王i
猫巷女王i 2020-12-05 13:46

How do I profile a MySQL database. I want to see all the SQL being run against a database.

I know you can do this:

  • set profiling=1;
  • <
5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 14:18

    MySqlAdministrator have some useful build in features (including logs view), but for logs it have to be run on same machine as database

提交回复
热议问题