打开workbench工具:
打开上面工具栏的Server-Data Export
选中数据库,选中要export的,点击Start Export
![Mysql通过workbench对表进行导出导入](/upload/otherpic48/22434.png)
旁边的Export Progress会显示进度。
其实就是一句MySQLdump的语句实现的。
![Mysql通过workbench对表进行导出导入](/upload/otherpic48/22435.png)
完成了Export后,就是Import。
在工具栏的Server-Data Import
![Mysql通过workbench对表进行导出导入](/upload/otherpic48/22436.png)
选择Import from Self-Contained File
把本地Export的dmp文件路径写在这里。最后的文件名后面要加.sql
最后点击Start Import
![Mysql通过workbench对表进行导出导入](/upload/otherpic48/22437.png)
完成。
当前标题:Mysql通过workbench对表进行导出导入
文章出自:
http://shouzuofang.com/article/ggghjh.html