当前位置:网站首页>navicat creates a connection 2002-can't connect to server on localhost (10061) and the mysql service has started the problem
navicat creates a connection 2002-can't connect to server on localhost (10061) and the mysql service has started the problem
2022-08-02 19:04:00 【m0_67403013】
navicat creates a connection 2002-can’t connect to server on localhost (10061) and the mysql service has started the problem
The problem is as above, using navicat
Check if mysql is started
Control Panel - Administrative Tools - Services
Find the mysql service and find that it has been started.If it is not activated, right-click to start it
View the local mysql port number
The default is 3306, as shown above.But I changed it for some reasons when I installed it here, which is also the reason for this 2002 problem.
win+R to run cmd, enter mysql -u root -p
Enter show global variables like 'port'; to view the port, pay attention to the semicolon
found that it is 3305, go back to navicat, and change the port to 3305
Let me introduce myself first. The editor graduated from Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Ali in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
猜你喜欢
FPGA 20个例程篇:10.遍历DDR3内存颗粒读写循环校验
Red and blue against experience sharing: CS from kill posture
Oracle 11g rac打完补丁,dbca新建数据库还需要执行应用补丁的sql吗?
js添加元素,去重,排序
金仓数据库 OCCI 迁移指南(4. KingbaseES 的 OCCI 迁移指南)
【二】通过props进行传值,子页面多种方式接收
Inconsistency between oracle and mysql statement results
图像质量评价指标
智能合约安全——delegatecall (1)
Antd-ProComponents中的EditableProTable无法在子行继续新增子子行的临时解决方案
随机推荐
【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(十)
数字孪生园区场景中的坐标知识
js商品总价格、最高价格商品、排除重复商品[初版]
锁定和并发控制(一)
Locking and Concurrency Control (4)
AI智能剪辑,仅需2秒一键提取精彩片段
扎克伯格“喜迎”苹果AR产品,上市两年终迎大幅涨价
numpy的学习笔记
[LeetCode]剑指 Offer 32 - II. 从上到下打印二叉树 II
特殊变量 (SQL)
Nacos配置中心工作原理(超简单)
融云「 IM 进阶实战高手课」系列直播上线
每日练习------定义一个N*N二维数组,从键盘上输入值,找出每行中最大值组成一个一维数组并输出;
“蔚来杯“2022牛客暑期多校训练营4 E - Jobs (Hard Version)
julia系列1:介绍与安装
julia系列5:文本、图像、其他语言函数互动
链表| leecode刷题笔记
如何为项目匹配资源技能和要求?
低光数据集
In the idea to create a web project _idea deployment of the web project