Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么办法可以在 MySQL 服务器运行时打开慢查询?因为经理在休假,所以我无法重新启动 MySQL 服务器!
这主要是仅通过阅读文档支持的猜测,但使用类似这样的东西可能会起作用
SET GLOBAL log_slow_queries = '/some/log/path', long_query_time = 1;