Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You can set it temporarily, by running the following commands:
- set global slow_query_log = 1;
- but your changes will be undone when mysql is restarted.
- You can set it permanently, by adding the following to your my.cnf file:
- slow-query-log=1
- Then check the queries with:
- mysqldumpslow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement