Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. # Set Slow Query Log
  2. long_query_time = 1
  3. slow_query_log = 1
  4. slow_query_log_file = D:/wamp/logs/slowquery.log
  5. log_queries_not_using_indexes = 1
  6.  
  7. #Set General Log
  8. general_log = on
  9. general_log_file=D:/wamp/logs/general.log
  10.  
  11. #Note that enabling general_log on a production server has overhead you should avoid it.
  12. #You can check problematic queries from slow log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement