mysql_slow_query
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mysql_slow_query [2017/03/01 09:37] – luke7858 | mysql_slow_query [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 17: | Line 17: | ||
</ | </ | ||
<sxh bash> | <sxh bash> | ||
- | SET GLOBAL slow_query_log = ' | + | mysql> |
</ | </ | ||
- | <sxh bash> | + | \\ |
- | + | Via the command line: | |
- | </ | + | \\ |
+ | \\ | ||
You can check to see if slow query logging is currently enabled. The following command assumes you have configured .my.cnf file: | You can check to see if slow query logging is currently enabled. The following command assumes you have configured .my.cnf file: | ||
<sxh bash> | <sxh bash> |
mysql_slow_query.1488361044.txt.gz · Last modified: 2024/05/23 07:26 (external edit)