Navicat Premium怎么导入sql文件?
时间:2022-07-16 14:44:17
Navicat Premium是一套数据库管理工具,功能强大,支持单一程序同時连接多达7种数据库。但是Navicat并没有直接导入SQL文件的按钮,这该怎么办?下面就由小编来教教大家Navicat Premium导入sql文件的方法。
方法如下:
1、首先,链接上Navicat,在链接下新建数据库,数据库名和要导入的一样,字符集选utf-8,确定。
![Navicat Premium怎么导入sql文件?](https://img.aspxhome.com/file/2023/30/a271239_0.png)
2、先右键点击打开数据库,然后,直接将数据库文件拖拽到新建的数据库上。
![Navicat Premium怎么导入sql文件?](https://img.aspxhome.com/file/2023/30/a271239_1.png)
3、弹出这个对话框,直接点击开始,完成后。然后直接关闭该窗口。
![Navicat Premium怎么导入sql文件?](https://img.aspxhome.com/file/2023/30/a271239_2.png)
4、右键刷新数据库的表,然后OK。
![Navicat Premium怎么导入sql文件?](https://img.aspxhome.com/file/2023/30/a271239_3.png)
向Navicat Premium导入本地sql文件出现错误解决:
navicat下 新建数据库–>打开数据库–>右键运行sql文件 注意编码 以及 数据库名称
一定要新建一个与你导入的数据库一样名称的数据库,编码也要保证一样。然后再导入就没问题了。
首先打开你要导入的那个SQL文件,查看编码格式:
![Navicat Premium怎么导入sql文件?](https://img.aspxhome.com/file/2023/30/a271239_4.png)
所以我在新建数据库,在选择字符集的时候,我选择的是utfmb4,这样就解决问题了。
标签:Navicat,Premium,sql文件,Navicat,Premium怎么导入sql文件
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何在一张纸上打印wps表单的内容
2023-10-01 20:40:02
![](https://img.aspxhome.com/file/2023/1/a170431_0s.jpg)
Win7系统遇到无线适配器或访问点有问题如何解决?
2022-10-08 19:28:22
![](https://img.aspxhome.com/file/2023/27/a232057_0s.jpg)
win8系统photoshop cs6程序出现错误的解决方法
2023-04-15 04:51:52
![](https://img.aspxhome.com/file/2023/29/a261106_0s.png)
电脑蓝屏代码0x00000080怎么办?电脑蓝屏代码0x00000080解决办法
2022-08-26 20:26:54
![](https://img.aspxhome.com/file/2023/26/a223515_0s.jpg)
WPS表格如何启用宏功能
2022-07-22 20:36:37
如何用Word快速导入邮件合并数据
2023-11-28 07:14:01
![](https://img.aspxhome.com/file/2023/4/18184_0s.png)
如何在excel表格中输入带下标的化学符号?
2023-08-07 02:41:09
![](https://img.aspxhome.com/file/2023/3/a140083_0s.jpg)
Win10文件夹删除不了需要管理员权限怎么办?Win10文件夹删除不了需要管理员权限的解决方法
2023-11-13 11:48:01
![](https://img.aspxhome.com/file/2023/3/49043_0s.png)
Excel中表格冻结前两行的操作方法
2023-07-14 03:59:25
分区助手如何把e盘分点给c盘使用?分区助手扩容教程
2023-07-23 03:37:25
![](https://img.aspxhome.com/file/2023/30/a267394_0s.png)
这7个Word排版技巧,让你效率倍增,年终总结、论文写作都用得上
2023-11-11 07:55:50
![](https://img.aspxhome.com/file/2023/7/17167_0s.png)
三个简单的方法教你在word中输入钢筋符号
2023-05-23 13:59:02
![](https://img.aspxhome.com/file/2023/5/34025_0s.jpg)
教你轻松解决Win7光驱自动弹出问题
2022-09-08 19:19:39
Windows7如何查看网页星号密码?
2023-05-10 20:10:32
![](https://img.aspxhome.com/file/2023/27/a230979_0s.jpg)
Word2010字体繁体转简体方法
2023-12-12 04:40:27
![](https://img.aspxhome.com/file/2023/7/20887_0s.jpg)
Windows7系统Windows Defender怎么打开?
2023-01-04 21:03:09
![](https://img.aspxhome.com/file/2023/27/a230683_0s.jpg)
wpsppt如何设置艺术字
2023-04-13 07:53:14
如何给图片添加水印?PhotoBulk for Mac批量给图片添加水印的图文教程
2022-06-14 04:18:20
![](https://img.aspxhome.com/file/2023/3/a211943_0s.jpeg)
word制作一个简单的贺卡
2023-07-02 08:29:05
![](https://img.aspxhome.com/file/2023/6/23816_0s.png)
excel 自定义序列的使用,以及如何添加、编辑、删除excel自定义序列
2023-08-29 08:11:39
![](https://img.aspxhome.com/file/2023/5/a155155_0s.gif)