These days to learn about the MySQL database on the nature of the optimization and design content, now do a summary of their own learning, follow-up I will continue to study further, improve the following summary:
1. Use index
Up to 16 indexes per
Can only say that I food, found on the internet did not find who explained their four differences, it can only own. The following is a MySQL client to see the help information, directly posted to explain it.
User:returns the current MySQL username
A script is used to export all MySQL databases and save them to a specified location.
The contents are as follows:
code is as follows
&nbs P;
#!/bin/bash ############################################ # # This is
Ubuntu is a popular Linux operating system, based on the Debian distribution and GNOME desktop environment, and compared to other Linux distributions, Ubuntu is very easy-to-use, and Windows compatibility is very good for Windows user migration,
Below is PHP's detailed code to export the MySQL database to generate SQL files, which hopefully will help you back up your data while you are programming with PHP From the Internet search, there are changes. filename:db_backup.php Source
PHP query MySQL multiple condition judgment output display
Background:
Query each field value output from MySQL and display the criteria field values in red font.
Conditions:
1.syntime is less than the current week before the words show red.
how the Win7 system uses the cmd command to export MySQL table data
Action method:
1. Run the command prompt from the Start menu:
2, and then enter the command:
Suppose you export the T_article_base table data under the Tomtopportal
1, problems and anomalies
Threadpoolasynchronousrunner-com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetector@75d634ea-- Apparent deadlock!!! Complete Status:
Managed Threads:3
Active Threads:3
Active Tasks:
2. Find the reason
It's
Town Yard text:The Confucian School of the practical and practical, line Buddhism Purdue sentient beings, the monastic Kangsheng fidelity, understanding of the easy to change the image. To science and technology to shine a good law, the achievement
====== MySQL River introduction ====== - what is River? The river represents a data source for ES and is also a way to synchronize data to ES with other storage methods (such as databases). It is an ES service that exists in plug-in mode, by reading
MySQL Data Backup and restoreFirst, data backup 1. Backup with mysqldump commandThe mysqldump command backs up the data in the database into a text file. The structure of the table and the data in the table are stored in the generated text file.The
MySQL enforces indexes and disables an index1, MySQL mandatory use index: Force index (index name or primary key PRI)For example:SELECT * FROM Table Force index (PRI) limit 2; (use primary key)SELECT * FROM Table Force index (ZIDUAN1_INDEX) limit 2;
MySQL burst, local connection normal, remote link cannot link, burst errorLost connection to MySQL server at ' reading initial communication packetLarge number of issues that cannot be remotely linked1.iptables led to look at Iptables-l2.MySQLD
Copyright NOTICE: This article for the collection of articles from all kinds of original articles, reproduced please indicate the source: http://www.cnblogs.com/2186009311CFF/p/6517470.html.1. Download MySQL Community Server:
Town Yard text:The Confucian School of the practical and practical, line Buddhism Purdue sentient beings, the monastic Kangsheng fidelity, understanding of the easy to change the image. To science and technology to shine a good law, the achievement
MySQL has a particularly high chance of downtime in the production environment, so we only install MySQL on the machine and not use it. The database itself is also a very easy place to create bottlenecks. Master: Master (for writing data) Slave:
How to change the mysql password in Centos: centosmysql
1. Modify MySQL Logon Settings:
# Vim/etc/my. cnf
Add the following sentence: skip-grant-tables.
For example:
[Mysqld] datadir =/var/lib/mysqlsocket =/var/lib/mysql. sock
2. Restart mysql
MySQL Sniffer and mysqlsniffer
MySQL Sniffer is a 360 open-source MySQL-based packet capture tool that can capture client requests in real time and format output operation statements.The Operation Review is a good tool for locating
MySQL database BASICS (4) (subquery and link) (in continuous update), mysql is being updated
1. subquery Introduction
The so-called "outer Query" does not refer to "Search", but is the collective name of all SQL statements. The Structured Query
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