Mysql database master-slave experience management mysql master-slave for more than two years, management of more than 200 groups of mysql master-slave, involving almost all versions of master-slave, this blog is summative, part of which is from the
1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
This article mainly introduces how to install mysql database in centos. For more information, see CentOS.
1. first download the MySQL installation file. I have installed MySQL5.1.7 here,
2. install the MySQL database server
Go to the folder where
1, first download the MySQL installation files, I installed here is the MySQL5.1.7 version,Download Link: http://pan.baidu.com/share/link?shareid=255483056&uk=924063144http://pan.baidu.com/share/link?shareid=269901909&uk=9240631442. Install MySQL
1. First download the MySQL installation file. I have installed MySQL5.1.7 here,
Download link: http://pan.baidu.com/share/link? Consumer id = 255483056 & uk = 924063144
Http://pan.baidu.com/share/link? Consumer id = 269901909 & uk = 924063144
2.
MySQL Master/Slave database switch records
Old Master database:
Lock the table of the master database before switching to prevent data from being written to the master database during switching.
Mysql> flush tables with read lock;
Old slave database:
First, the basic part1. What is a database?Previously learned, data to be permanently saved, such as user registration of user information, are stored in the file, and the file can only exist on a certain machine.If we do not consider the efficiency
Management MySQL master and slave has more than 2 years, managed more than 200 sets of MySQL master and slave, almost related to each version of the master and slave, this blog is summarized, part of it is from the network, most of it is based on
Management MySQL master and slave has more than 2 years, managed more than 200 sets of MySQL master and slave, almost related to each version of the master and slave, this blog is summarized, part of it is from the network, most of it is based on
Common commands for MySQL database operations and Common commands for mysql
Common commands for MySQL database operationsDOS Connection database1. Install MySQL to configure the environment2. Run the cmd command. net start mysql3. Find the root
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.