开发者

MySQL: Select the last executed queries

How to select the last executed 开发者_开发技巧queries in MySQL?


You can enable the General Query Log.

Edit: Duplicate question. Answer here.


If the general query log is enabled, then you can use tail to see the most recent queries executed on your server.

If the general query log is disabled, there is no way to do this.

If the binary log is enabled you can see the most recent insert/update/delete queries in there, but not selects.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜