Mysql5.6.10 slow query settings slow-query-log

Source: Internet
Author: User

Mysql5.6.10 about the slow query settings slow-query-log two days ago, I just upgraded the development environment to 2008R2, so I want to try a 64-bit database of 5.6.10, it is the win32x64 version officially downloaded from mysql, with a total of over 200 MB. I found that there was only one default my. ini file. I tried to optimize the file and found that the file cannot be started. Later, I found that the slow query settings were changed. The previous settings were: slow_query_log long_query_time = 5 log-slow-queries = slow. this setting is required for log now. slow-query-log = 1slow-query-log-file = slow. log 5. 6. * log-slow-queries = slow may have been completely canceled. log is written in this way.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.