- 在电脑cmd终端进行导入
首先找到MySQL中bin的位置
第一步:找到MySQL
第二步:进入MySQL

第三步:打开bin

第四步:输入cmd进入终端


第五步:
输入mysql -uroot -p

然后会弹出enter password:
输入你的密码

第六步:导入数据库
source sql文件路径;

这样就导入成功了
首先找到MySQL中bin的位置
第一步:找到MySQL
第二步:进入MySQL
第三步:打开bin
第四步:输入cmd进入终端
第五步:
输入mysql -uroot -p
然后会弹出enter password:
输入你的密码
第六步:导入数据库
source sql文件路径;
这样就导入成功了