In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following is about the operation of backup and restore of MYSQL database. The secret of the text lies in being close to the topic. So, no gossip, let's read the following directly, I believe you will benefit from reading this article on the operation methods of backup and restore of MYSQL database.
Back up the database:
CVM 1VR 192.168.26.210
Mysqldump-uroot-p-h227.0.0.1-all-databases-- flush-logs-- master-data=2-- lock-all-tables > all.sql
Copy the data to another CVM (192.168.26.212):
Execute the command on CVM 1 (192.168.26.210): scp all.sql node3:/data/
View backup data and import data on CVM 2 (192.168.26.212):
Execute command: ls
Mysql-uroot-p-h227.1
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.