当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Switch 块、Switch 表达式、Switch 模式匹配,越来越好用的 Switch
链表的归并排序[自顶向下分治 || 自低向上合并]
Flink SQL builds real-time data warehouse DWD layer
总结嵌入式C语言难点 (1部分) 【结尾有资料】
技术分享| 融合调度系统中的电子围栏功能说明
如何为项目匹配资源技能和要求?
VMware启动报错:另一个程序已锁定文件的一部分,进程无法访问(删除最近的.lck文件夹)
每日练习------定义一个N*N二维数组,从键盘上输入值,找出每行中最大值组成一个一维数组并输出;
Common software silent installation parameters
2022年PMP考试应该注意些什么?
oracle 和mysql 语句结果不一致问题
DSP-ADAU1452输入通道配置
Locking and concurrency control (a)
sql2008 database suspicious solution _sqlserver2008 database suspicious
Pytest study notes
MySQL——慢查询日志分析
JZ56 数组中只出现一次的两个数字
锁定和并发控制(一)
图像质量评价指标
亲戚3.5W入职华为后,我也选择了转行……