Home > Database > Mysql Tutorial > MySQL导库命令_MySQL

MySQL导库命令_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:30:05
Original
1038 people have browsed it

bitsCN.com

MySQL导库命令

 

1,先登录再导库:

 

mysql -uroot -p123465 回车create database testdb;source D:/DB/test.sql;
Copy after login

2,导库时使用账户密码:

mysql -uroot -p123456 testdb < D:/DB/test.sql;
Copy after login

导出:

mysqldump -uroot -p123456 testdb > D:/DB/test.sql
Copy after login

 


bitsCN.com
Related labels:
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