This article mainly explains the mysql commands in centoslinux (redhatlinux). If your mysql is installed in source code, I add the "mysql installation directory bin" to the path environment variable, mysql startup script has been copied to etcinit.
MySQL master-slave Copy Data Summary1. Replication Principle
As shown in 1.png:
The first part of this process is that the master records binary logs. Before each Transaction Completes data update, the master will record these changes in the
1. MySQL 5.6.32 64-bit installation package downloadDownload the MySQL 5.6.32 64-bit installation package download (or wget download) using Thunderbolt in the official website http://dev.mysql.com/downloads/mysql/5.6.html#:# CD/USR/LOCAL/SRC# wget
1. MySQL 5.6.32 64-bit installation package download Download the MySQL 5.6.32 64-bit installation package download (or wget download) using Thunderbolt in the official website http://dev.mysql.com/downloads/mysql/5.6.html#: # CD/USR/LOCAL/SRC# wget
"High Performance MySQL" is a classic good book, from the application layer to the database to the hardware platform, a variety of tuning skills, FAQs are all mentioned. The database of various conceptual skills usually have contact, such as index,
Mysql forgot root passwordMethod One:Add below/etc/my.cfg [mysqld]Skip-grant-tables or Skip-grant.Restart MySQLUse MySQL;UPDATE user SET Password = Password (' New-password ') WHERE user = ' root ';MySQL flush privileges;Change the My.cfg file back
Transaction Concept
A transaction is an atomic SQL query statement and can be considered as a unit of work. If the database engine can successfully apply all query statements to the database, it will execute all queries. If any query statement
(1)
Reduce Database Access Static pages are possible Static parts of a dynamic page Some data can be generated as XML or saved as text files Use data caching technology, such as memcached (2)Optimization Detection Method 1. User Experience
A transaction is a set of atomic SQL query statements that can also be viewed as a unit of work. If the database engine succeeds in applying all of the query statements to the database, it executes all queries, and if any of the query statements
Original: 49863787I. Query and index optimization analysis1.show command:Show engines;Displays status information for the storage engine. This statement is useful for checking whether a storage engine is supported, or for viewing what the default
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.