第1个回答 2017-06-20
1. 进入mysql黑屏下,
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 62
Server version: 5.0.51b-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
2.输入命令 source c:\database.sql; (source后面接的就是你的数据库(.sql文件)的地址)