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
Table of contents 1. Introduction to label statem...
Table of contents Makefile Makefile naming and ru...
Table of contents JSON.parse JSON.parse Syntax re...
Download and install JDK Step 1: First download t...
Preface I have an old laptop with Win7. In order ...
Angularjs loop object properties to achieve dynam...
This article shares the specific code of the firs...
Table of contents splice() Method join() Method r...
1》Be good at web design 2》Know how to design web p...
MySQL official website download address: https://...
Linux uses iftop to monitor the traffic of the ne...
Everyone must know the composition of the box mod...
Table of contents 1. Always use key in v-for loop...
Preface Today I will share with you a holy grail ...
Preface Crond is a scheduled execution tool under...