This article mainly introduces the MySQL log settings and viewing methods. Friends in need can refer to the following MySQL logs: Error log: -log-err query log: -log slow query log: -log-slow- queries update log: -log-update Binary log: -log-bin By default, all logs are created in the mysqld data directory. By flushing the log, you can force mysqld to close and reopen the log file (or in some cases switch to a new log). Log refresh 1 occurs when you execute a FLUSH LOGS statement or execute mysqladmin flush-logs or mysqladmin refresh. Error log Use the --log-error[=file_name] option to specify the location where mysqld saves the error log file. If no file_name value is given, mysqld uses the error log name host_name.err and writes the log file in the data directory. If you execute FLUSH LOG
1. Detailed introduction to log settings
##Introduction: This article mainly introduces the MySQL log settings and viewing methods. Friends in need can refer to the following MySQL logs: Error log: -log-err query log: -log slow query log: - log-slow-queries update log: -log-update binary log: -log-bin By default, all logs are created in the mysqld data directory. By flushing the log, you can force mysqld to close and reopen the log file (or in some cases switch to a new date...
2. Responsive Detailed introduction to CSS3 media queries for layout
##Introduction: Use our CSS3 to implement responsive layout Just having a flexible box is not enough. CSS3 also extends the media attribute and adds a module function, Media Queries. Media queries are introduced. With the rapid popularity of mobile terminals, more and more users use smartphones, tablets, etc. to browse pages. All considerations are taken into account. User needs: We need to ensure that users have a good experience browsing the page on various devices. So we need media queries, which allow us to set different styles for different devices or devices with different conditions. But if
3.
Detailed explanation of mysql slow query
##Introduction: 1 Slow query definition It means that mysql records all SQL statements that exceed the time threshold set by the long_query_time parameter. The slow query log is the log that records these SQLs. 2. Open the slow query log and find the mysql configuration file my.cnf. Add log-slow-queries under mysqld. = D:/MySQL/log/mysqld-slow-query.log #The location of the log. (Pay attention to permission issues, you can
##4. Practice HTML5 CSS3Media Queries. Sample code sharing
Introduction: Let’s first introduce media, to be precise it should be CSS media queries (CSS media query), a media query contains a media type and at least one expression that uses media properties such as width, height, and color to limit the scope of the style sheet. The media query added by CSS3 allows styles to be applied without modifying the content. Certain specific device ranges
##5. HTML5 Practice-CSS3 Media Queries detailed introduction
##Introduction: CSS2 allows you to specify styles for specific media types, such as screens or printers. CSS3 provides more powerful media queries. You can set expressions for different media types. Set different styles for different conditions. For example, you can set one style for large screens and another style for mobile. This function is quite powerful. You can provide different style effects for different devices without modifying the page content. . In the following lessons we will introduce some sites that use this technology. 6. HTML5 Practice-Code sharing for responsive design using CSS3 Media Queries
Introduction: Nowadays, screen resolutions range from 320px (iPhone) to 2560px (large monitors) and even larger. Users no longer only use desktop computers to access web sites, but also use mobile phones, laptops, and tablets. Therefore, the traditional method of setting the website width to a fixed value can no longer meet the needs. Web design needs to adapt to this new requirement, and page layouts need to be able to automatically adjust according to the different resolutions of the access devices. This tutorial will introduce you how to use html5 and CSS3 Media Queries to complete cross-browser responsive design. 7. HTML5 Practice-detailed introduction to three-step implementation of responsive design Introduction: Responsive web design is not a difficult task now. If you are not familiar with it yet, and if you are a beginner, responsive design may be a bit complicated for you, but in reality It's easier to fuck him than you think. In order to help you learn responsive design faster, I specially wrote this tutorial. In three simple steps, you can master the basic logic and media queries of responsive design (assuming you have knowledge of CSS). 8. MySQL-my.cnf sample code for configuring log type and file configuration under CentOS
Introduction: MySQL has the following logs: Error log: log-err Query log: log Slow query log: log-slow-queries Update log: log-update Binary log : log-bin[client] port = 3306socket = /home/mysql/mysql/tmp/mysql.sock [mysqld] !includ 9. Share Media in CSS3 Learning summary of Queries
Introduction: Media Queries in CSS3 are often used to make front-end responsive Design page, here is a collection of study notes on Media Queries in CSS3, including solutions to compatibility issues in IE8. Friends in need can refer to ##10. CSS3 media queries Combining jQuery to implement responsive navigation Introduction: This article mainly introduces CSS3 media queries in detail to implement responsive navigation with jQuery. It has certain reference value and is of interest. Friends can refer to [Related Q&A recommendations]: mysql optimization - mysql aggregate index issues css3 - How to write css media queries in Baidu, UC, QQ and other browsers under large resolution python - Google PR query interface URL verification code algorithm Find the solution! Database - SQL: Does php+mysql support stacked query? python - sqlalchemy How to implement get_debug_queries() in flask-sqlalchemy
The above is the detailed content of How to use Queries? Summary of Queries instance usage. For more information, please follow other related articles on the PHP Chinese website!