Home >Database >Mysql Tutorial >mysql导入与导出sql文件下令

mysql导入与导出sql文件下令

WBOY
WBOYOriginal
2016-06-07 16:15:321235browse

mysql导入与导出sql文件命令 1 进入cmd下面进入mysql目录下,命令:cd C:\mysql\bin 2备份smu数据库到D盘根目录 命令:mysqldump -uroot -proot smu d:\name.sql 导入数据:进入cmd键入cd C:\nvr2000\mysql\bin 3创建smu数据库 mysqlcreate database data; 4

mysql导入与导出sql文件命令

1 进入cmd下面进入mysql目录下,命令:cd C:\mysql\bin
2备份smu数据库到D盘根目录 命令:mysqldump -uroot -proot smu > d:\name.sql
导入数据:进入cmd键入cd C:\nvr2000\mysql\bin
3创建smu数据库 mysql>create database data;
4从D盘导入数据库 mysql -uroot -proot?data

Statement:
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