In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following is followed by the author to understand the simple operation of MySQL data backup and recovery. I believe everyone will benefit a lot after reading it. The text is not much in essence. I hope the simple operation of MySQL data backup and recovery is what you want.
# data backup
Enter the Super Admin
Sudo-s
Enter the mysql library directory
Cd / var/lib/mysql
Run the mysqldump command
Mysqldump-uroot-p database name > ~ / Desktop/ backup file. Sql
Enter the password for mysql when prompted
# data recovery
Connect to mysql and create a database
To exit the connection, execute the following command
Mysql-uroot-p database name < ~ / Desktop/ backup file. Sql
Enter the mysql password when prompted
After reading this article on the simple operation of MySQL data backup and recovery, many readers will want to know more about it. For more industry information, you can follow our industry information section.
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.