当前位置:网站首页>Mysql error 2003 solution Can 't connect to Mysql server on' localhost '(10061).
Mysql error 2003 solution Can 't connect to Mysql server on' localhost '(10061).
2022-08-02 07:51:00 【web18224617243】
Cause:
The database has not been used on the computer for a long time, and the result is that the link cannot be connected when it starts up
I found several solutions on the Internet, but they didn't work for me. I tried one that worked and put it here.
In order to improve the running speed of my computer, I have turned off all the services that run automatically in the background.So
Step 1: View Services
Open your task manager, there is a link directly to the service.Of course, there are other ways to find services.
The service interface is shown in the figure:
Step 2: View Mysql service
Step 3: Analyze the cause
Check if your Mysql service is open
Look at the positions of ① to see if they are all activated.Everyone's installed Mysql version is different, and it may not be displayed exactly the same.
It is because I chose manual management here, and it is closed, and ① is also incomplete, so the link is not available.
If it is not started, then select the service, and you can choose to start at the position of ③.
After the third step, you can go and see if you can connect.
Step 4: If service is missing
1. Run your cmd as an administrator
2. Enter mysqld -install in the command prompt
What I show here is already installed.
I can connect to the database after this step. If you still can't, check it online.
If it's useful, remember to like it!
This article is original, please remember to add a link for reprinting!kisses!
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba 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 also 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
边栏推荐
猜你喜欢
随机推荐
吃透Chisel语言.30.Chisel进阶之通信状态机(二)——FSMD:以Popcount为例
使用hutool做本地缓存的工具类
From cloud computing to function computing
docker 安装mysql
Find the largest n files
2022年数据泄露平均成本高达435万美元,创历史新高!
聊天机器人如何提升独立站的营销水平?
MySQL-多版本并发控制
海缆探测仪TSS350(二)
Splunk Filed extraction field interception
21 days learning challenge 】 【 sequential search
查找最大的n个文件
Splunk Field Caculated 计算字段
带手续费买卖股票的最大利益[找DP的状态定义到底缺什么?]
View zombie processes
结构体大小计算--结构体内存对齐
spark架构
【机器学习】实验1布置:基于决策树的英雄联盟游戏胜负预测
MySQL-FlinkCDC-Hudi enters the lake in real time
2022夏暑假每日一题(六)











![MySQL error 1055 solution: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains](/img/aa/ab58ec47bb96df803dbc6a8ff6dde3.png)



