当前位置:网站首页>MySQL - Import / export operation

MySQL - Import / export operation

2022-06-12 08:56:00 Listest

1. export :

1, Get into MySQL In the catalog bin Folder :cd MySQL Medium to bin Directory of folders

Like the command line I typed :cd C:\Program Files\MySQL\MySQL Server 4.1\bin

( Or directly windows Environment variables of path Add this directory to the )

2, Export database :mysqldump -u user name -p Database name > Exported file name

Import :

To be imported .sql Move to file bin Under the document

mysql> source mix_v2.sql

原网站

版权声明
本文为[Listest]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010538371658.html