How is queries used? Summarize queries Instance usage

Source: Internet
Author: User
This article mainly introduces the MySQL log settings and viewing methods, the need for friends 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 refreshing 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 perform mysqladmin flush-logs or mysqladmin refresh. The error log uses the--log-error[=file_name] option to specify the location where the error log file is mysqld saved. 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 description of log settings

Introduction: This article mainly introduces the MySQL log settings and viewing methods, the need for friends 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 refreshing the log, you can force mysqld to close and reopen the log file (or in some cases switch to a new day ...).

2. Responsive layout CSS3 Media Queries for more information

Introduction: Using our CSS3 to achieve responsive layout just elastic box is not enough CSS3 also expands the media properties, adds a module function media Queries media query function multimedia query introduced with the rapid popularization of mobile users more and more people use smart computers, tablets and other browsing pages All taking into account the needs of users we want to ensure that users browse the page on a variety of devices have a good experience so we need media query it allows us to set different styles for different devices or different conditions of the device, but if

3. Detailed MySQL slow query

Introduction: 1 The slow query definition refers to a MySQL record of all SQL statements that execute a time threshold that exceeds the Long_query_time parameter setting. The slow query log is the log that logs these SQL. 2 Turn on the slow query log to find the MySQL configuration file my.cnf. Add log-slow-queries = D:/mysql/log/mysqld-slow-query.log #日志存在的位置 below mysqld. (Note the issue of permissions, you can

4. Practice HTML5 Css3media Queries sample code sharing

Introduction: First to introduce the next media, it should be the CSS media queries (CSS query), the media query contains a media type and at least one use of media properties such as width, height and color to limit the range of the style sheet expression. CSS3 added media queries that allow styles to be applied to certain device scopes without modifying the content.

5. HTML5 Practice-CSS3 Media Queries Details

Summary: CSS2 allows you to style specific media types, such as for screens or printers. CSS3 provides a more powerful media queries, you can set expressions for different media types, and set different styles based on different conditions. For example, you can set a style for a large screen and set another style for mobile. This feature is quite powerful, you can provide different style effects for different devices without modifying the content of the page. We'll cover some of the sites that use this technology in the following courses.

6. HTML5 Practice-code sharing for responsive design using CSS3 Media queries

Summary: Now the screen resolution range is large, from 320px (IPhone) to 2560px (large display), even larger. The user is not just using a desktop computer to access a Web site, he uses a mobile phone, a laptop, a Tablet PC. So the traditional set of Web site width is fixed value, has been unable to meet the need. The web design needs to adapt to this new requirement, and the page layout needs to be automatically adjusted to the different resolutions of the access device. This tutorial will show you how to use HTML5 and CSS3 Media queries to complete a cross-browser responsive design.

7. HTML5 Practice-Detailed introduction to the three-step implementation of responsive design

Summary: Responsive Web Design now is not a difficult thing, if you are not familiar with him, if you are a beginner, perhaps the responsive design is a bit miscellaneous to you, but in fact he is more simple than you think. To make it easier for you to learn responsive design, I've written this tutorial, and with a simple three-step process you can master the basic logic of responsive design and media queries (assuming you master CSS knowledge).

8. mysql-centos my.cnf configuration log type and file Configuration sample code

Summary: MySQL has the following kinds of 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 the learning summary of media queries in CSS3

Summary: Media queries in CSS3 is often used to create a responsive design page for the front end, which organizes a CSS3 of media queries learning notes, including compatibility problem resolution in IE8, and the need for friends to refer to

CSS3 media queries with jquery for responsive navigation

Introduction: This article is mainly for everyone to introduce the CSS3 media queries with jquery to achieve responsive navigation, with a certain reference value, interested in small partners can refer to

"Related question and answer recommendation":

MySQL optimization-MySQL aggregate index issues

CSS3-Large resolution, Baidu, UC, QQ and other browser CSS media queries the wording

Python-google PR query interface URL Check code algorithm solution!

Database-Sql:php+mysql Support stacked query (stack queries)?

Python-sqlalchemy How to implement Flask-sqlalchemy in Get_debug_queries ()

Related Article

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.