This article will help you understand: How to quickly export Mysql data in Centos at one time! ! !

Table of contents

1. Database export

1. First create a file ending with .sql  

2. Open the decompression directory named mysq and export the data 

3. Then check it

4 Required software MobaXterm


1. Database export

1. First create a file ending with .sql  

 Pass  touch ssm.sql (Editor) Actually: touch xxx.sql

After creating the file, check the path through pwd copy path /path/xxx.sql ( Prepare for subsequent database export)

2. Open the decompression directory named mysq and export the data 

Open the mysql installation directory via cd and enter the quality

mysqldump -u root -p ssm> /root/java/sql/ssm.sql

Where ssm is the database name

>The following is the path that the editor needs to copy above.

3. Then check it

4 Required software MobaXterm

Guess you like

Origin blog.csdn.net/lz17267861157/article/details/134524414