当前位置:网站首页>How Navicat Connects to MySQL
How Navicat Connects to MySQL
2022-07-29 13:03:00 【Mmm okay!】
There are many database connection tools on the market,比如Navicat、SQLYog、WorkBench等,用的比较多的,比较好用的,还是Navicat.现在我们就来说说Navicat如何连接Mysql,This article is only for Xiaobai,God can ignore.
1.打开Navicat,点击左上角的【连接】按钮.

2. 新建连接,大家要注意了,new connection here,not a new database,I saw many people is the connection name as a library name written,这是不对的.The ability to build multiple connections means that, for example, we can connect to localmysql,You can also connect to the development environment servermysql,或者测试环境、Such as different production environmentMysql.
还有很多小伙伴,MySQLDatabase password forgot,我们可以通过左下角的【连接测试】button to test if the password is correct.

3.连接成功后,Double-click the connection name in the list on the left,可以看到Mysqlbuilt-in system library.
注意:此处MysqlSeveral libraries that come with it are system libraries,Don't think of this mess,删除了吧.这样会导致Mysql运行不正常.

4.连接成功后,We need a new database,Right-click on the connection name,选择新建数据库.
填写数据库名(The database name is usually the same as that provided by the source space stationsql文件名相同),字符集选择utf-8,排序规则选择utf8_general_ci.

5.执行SQL文件,数据库创建成功后,需要我们导入sql文件,Right-click on the database name,选择【运行SQL文件】.
6.找到sqlThe local path where the file is located,after selected,点击【开始】,执行SQL文件

7. 执行完成后,There will be a prompt whether the execution is successful or not,比如成功:Finished successfully.
不成功:Finished unsuccessfully. 如果不成功,You need to see which statements are reporting the error,可能是因为版本问题sql语法不兼容.

8. 执行成功后,We see that the data table is still empty.At this time a lot of friend was puzzled,Apparently it has been executed successfully,why no table? 重要:After the completion of the execution【刷新】.
在【表】上点击鼠标右键,选择【刷新】,刷新完成后,to display all tables.


buddy, have you learned??
边栏推荐
- APP本机号码一键登录
- PHP 基础知识
- The meaning of "last in first out" in stack and "first in first out" in queue
- npm出现报错 npm WARN config global `--global`, `--local` are deprecated. Use `--location=global
- 拦截器与过滤器(三)@interface自定义注解拦截
- 38.【string下章】
- 第十章 发现和记录 REST API
- html+css+php+mysql实现注册+登录+修改密码(附完整代码)
- C语言小游戏------贪吃蛇----小白专用
- Draw boxes of WPF screenshots controls and ellipse (4) "imitation WeChat"
猜你喜欢

pycharm专业版使用

【实用工具】Image Assistant下载指定页面的所有图片

Mysql stored procedures, rounding

CentOS7安装Oracle数据库的全流程

Windows系统Mysql8版本的安装教程

npm install 报错问题解决合集
![[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及](/img/ac/80ab67505f7df52d92a206bc3dd50e.png)
[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及

Container is changed | deploy MySQL cluster in the Rancher

Go-Excelize API源码阅读(七)—— CopySheet(from, to int)

MySQL如何对SQL做prepare预处理(解决IN查询SQL预处理仅能查询出一条记录的问题)
随机推荐
金仓数据库KingbaseES客户端编程接口指南-JDBC(2. 概述)
IDEA 数据库插件Database Navigator 插件
PD 源码分析- Checker: region 健康卫士
What should I do if the webpage is hijacked and redirected?Release net repair method
【云原生】微服务之Feign的介绍与使用
Hugo NexT V4 介绍
【多线程】——Callable创建多线程
金仓数据库KingbaseES安全指南--6.7. GSSAPI身份验证
MySQL基础(DDL、DML、DQL)
TiDB 操作实践 -- 备份与恢复
mysql数据库安装(详细)
一口气说出4种主流数据库ID自增长,面试官懵了
CentOS7安装Oracle数据库的全流程
数组及其内存管理三问
WPF 截图控件之绘制方框与椭圆(四) 「仿微信」
什么是DOM
QCon Guangzhou Station is here!Exclusive custom backpacks are waiting for you!
【多线程】——synchronized关键字
国内首秀元宇宙Live House圆满收官,百事可乐虚拟偶像真的好会!!
什么是BOM