User Tools

Site Tools


mysql_slow_query

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mysql_slow_query [2017/03/01 09:37] luke7858mysql_slow_query [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 17: Line 17:
 </sxh> </sxh>
 <sxh bash> <sxh bash>
-SET GLOBAL slow_query_log = 'ON';+mysql> SET GLOBAL slow_query_log = 'ON';
 </sxh> </sxh>
-<sxh bash> +\\ 
- +Via the command line: 
-</sxh> +\\ 
 +\\
 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)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki