1.修改环境变量
C:\Program Files\MySQL\MySQL Server 5.7\bin
登录:
mysql
-u root
-p
Enter password:
888888
mysql
> source C:
/spring
.sql
在d盘中产生spring1.sql 打开另一个doc窗口
C:\Users\Administrator
>d:
D:\
>mysqldump
-u root
-p
Enter password:
******
mysql
> use spring
;
mysql
> show tables;
mysql
> select * from customer
;