Three methods for mysql backup: bitsCN.com
I. purpose of backup
Disaster Recovery: recover and restore damaged dataDemand Change: data needs to be restored to a time before the change due to demand changesTest: test whether the new function is
1. experiment environment:
Node1: 192.168.1.17RHEL5.8 _ 32bit, web server)
Node2: 192.168.1.18RHEL5.8 _ 32bit, web server)
SteppingStone: 192.168.1.19RHEL5.8 _ 32bit)
VIP: 192.168.1.20
2. Preparations
Configure the Host Name
The node name is
I. Purpose of backup
Disaster recovery: recover and restore damaged dataDemand change: data needs to be restored to a time before the change due to demand changesTest: test whether the new function is available
Ii. Backup considerations
How long
In mysql, user permissions are a deep learning. If you improperly set database permissions, the database on the entire mysql database server may be exploited, let's take a look at the mysql user and permission management settings.
1. Basic
Mysql5.7 forget the root password and mysql5.7 modify the root password, mysql5.7root
Disable running MySQL:
[root@www.woai.it ~]# service mysql stop
Run
[root@www.woai.it ~]# mysqld_safe --skip-grant-tables &
To ensure security, you can disable
In MySQL, innobackupex and xtrabackup are used for big data backup and restoration. innobackupex
Backup and restoration of large data volumes is always a challenge. When MYSQL exceeds 10 Gb, it is slow to export data using mysqldump. Xtrabackup is
1. stop mysql service: servicemysqldstop; 2. mysqld_safe -- skip-grant-tables3. repeat an SSH connection (that is, repeat a new black window); 4. enter the following command: [root @ localhost ~] #
How to restart MySQL: bitsCN.com
The correct method for restarting MySQL has changed my. cnf, the MySQL service needs to be restarted. because Mysql is installed from the source code package, there is no common servcie mysqld restart script in the
As an O & M personnel, you should not only learn how to build and install mysql services, but also understand the use of basic commands and syntaxes. This is the note I have summarized after learning, and I hope it will be helpful to Cainiao like me.
MySQL restart method bitsCN.com
Net start mysql
Net stop mysql
Mysqladmin-u root shutdown
----------------------------------------------------
RedHat Linux (Fedora Core/Cent OS)1. start:/etc/init. d/mysqld start
2. stop:/etc/init. d/mysqld
This article mainly introduces how to use cold backup in the real environment of MySQL backup and recovery. if you need it, refer to the previous article (cold backup of MySQL backup and recovery. However, there is a problem. The data files we store
MySQL database management database startup and shutdown, security, access control and permissions, database backup and recovery, import and export records MySQL database management database startup and shutdown, security, access control and
Principle:A redo log file is maintained inside the InnoDB, and we can also call it a transaction log file. The transaction log stores record modifications for each of the InnoDB table data. When InnoDB starts, InnoDB examines the data file and
First, delete Percona server1. Close Mysqld service mysqld stop, and then remove rm-rf/etc/my.cnf2. Delete the rm-rf/usr/local/percona-server-5.5.33-rel31.1-566.linux.x86_64 folder3. Remove the soft link rm-rf/usr/local/mysql4.chkconfig--del
[Switch] Details about three Mysql backups: bitsCN.com
I. purpose of backup
Disaster Recovery: recover and restore damaged dataDemand Change: data needs to be restored to a time before the change due to demand changesTest: test whether the new
There are many ways to reset the MySQL password in CentOS. The official website also provides convenient and quick operations. For more information, see resettingpermissions. This document resets the password
There are many ways to reset the MySQL
Starting, stopping, and restarting MySQL is a must-have operation for every webmaster with an independent host. The following describes the operation methods:
I. Startup Mode
1. Start with service: Service mysqld start
2. Use the mysqld script to
Responsibilities of the database administrator
Server startup and Shutdown
User account maintenance
Log File Maintenance
Database backup and copy
Server Optimization
Software updates for the database management system
Security of Data
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.