Home > Database > Mysql Tutorial > mysql数据库的导出与导入_MySQL

mysql数据库的导出与导入_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:13:45
Original
993 people have browsed it

导出

在dos节目,切换到mysql按照目录的bin下,输入以下命令

mysqldump -u root -p nxu_life > nxu_life2.sql

执行完成后,就可以看到在bin目录下

导入

打开mysql,source D:/nxu_life.sql;

如果找不到目录,就先切换到d盘

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template