Mysql backup and database restoration mysqldump instance and parameter description mysqldump
BitsCN.com
We will certainly encounter the situation of backing up the database and restoring the database during the operation of the project. we generally
Mysqldump backup and restoration of mysql data instance mysqldump
For mysql database backup and restoration, we generally use the following two methods:
1. use into outfile and load data infile to import and export backup data
The exported data
We will certainly encounter the situation of backing up the database and restoring the database during the operation of the project. We generally use the following two methods to deal with it:
1. Use into outfile and load data infile to import and
Original http://www.cnblogs.com/xuejie/archive/2013/01/11/2856911.html We will certainly encounter the backup database in the course of running the project, restore the database situation, we generally use two ways to deal with: 1. Import and export
Mysql backup and database restoration mysqldump instance and parameter description mysqldump
We will certainly encounter the situation of backing up the database and restoring the database during the operation of the project. we generally use the
Transfer from: http://www.cnblogs.com/chenmh/p/5300370.html introductionIn daily maintenance work often need to export the data, and mysqldump is to export the data process is a very frequent use of a tool, it comes with a lot of function parameters,
The mysqldump command is a very good database operation command in mysql. It can back up and restore the database, and is used in almost all database command backups, next I will introduce some usage of mysqldump.
I. Common Operations:
Back up the
First, the common operation:
Back up the entire database
Format:MYSQLDUMP-H host name-P Port-u username-p password (–database) database name > filename. sqlMysqldump-h{hostname}-p{port}-u{username}-p{password} {DatabaseName} > {backupfile.sql}For
#mysqldump--helpSeveral common methods of 1.mysqldump:(1) Export the entire database (including data in the database)Mysqldump-u username-p dbname > Dbname.sql(2) Export database structure (without data)Mysqldump-u username-p- d dbname > Dbname.sql(3
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.