MySQL Database data Information migration

Source: Internet
Author: User
Environment Kernel Information:
[Email protected] ~]# uname-alinux lodboyedu-01 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 19:29:05 UTC x86_64 x86_64 x86_64 Gnu/linux
backing up data in a database
[Email protected] tools]#/application/mysql/bin/mysqldump-u root-p123456--all-databases  >/tmp/bak.sql

Remote transfer of backup data to a new database server for recovery

172.16. 1.51:/tmp/

Data recovery

/application/mysql/bin/mysql-u root-p123456 </tmp/bak.sql
Description: On the new database server, import the file you just sent to the MySQL database.

MySQL Database data Information migration

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.