1. 在MySQL WorkBench的Server Administrator中双击要连接的数据库;
2. 点击左边的Data Import/Restore;
3. Import from Dump Project Folder是从文件夹导入,Import from Self-Contained File是从一个.sql文件导入,这里选择Import from Self-Contained File,并选择.sql文件路径;
4. 点击Start Import按钮,导入;
5. 导入成功!
时间: 2024-10-07 01:45:09