mysqldump command Introduction: A database backup program Format: mysqldump [options] [db_name [tbl_name ...]] Description: The mysqldump client utility performs a logical backup, generating a set of SQL statements that can be executed to reproduce the original database object definitions and table data. It dumps one or more MySQL databases for backup or transfer to another SQL server. The mysqldump command can also generate output in CSV, other delimited text, or XML formats. The following figure shows the renamed image name uoj. Now we need to export mysql in this image. Run the following command: docker exec -it uoj mysqldump -uroot -proot app_uoj233 >/data/database_bak/app_uoj233.sql #Note: uoj is the image name -u is the database username -p is the database password app_uoj233 is the data name in the project, /data/database_bak/ is the export directory, app_uoj233.sql is the exported sql file, i.e. the database Summarize The above is what I introduced to you. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: MySQL 8.0.16 installation and configuration tutorial under CentOS7
>>: MySQL 8.0.16 installation and configuration method graphic tutorial under Windows
<br />Previous Web Design Tutorial: Web Desi...
Knowledge points about Memory storage engine The ...
This article example shares the specific code of ...
Step 1: Get the MySQL YUM source Go to the MySQL ...
This article records the installation tutorial of...
background In the group, some students will ask r...
need After the user fills out the form and clicks...
As front-end engineers, IE must be familiar to us...
environment: 1. Windows Server 2016 Datacenter 64...
Note: It is recommended that the virtual machine ...
Definition of Generics // Requirement 1: Generics...
Table of contents Special characters in URLs URL ...
Table of contents First of all, you need to know ...
In Linux, we usually use the mv command to rename...
Table of contents 1. MySQL time type 2. Check the...