当前位置:网站首页>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
边栏推荐
猜你喜欢

jvm 二之 栈帧内部结构

Chain Of Responsibility

mysql操作入门(四)-----数据排序(升序、降序、多字段排序)

Splunk Filed Alias 字段改名

概率论与数理统计
![带手续费买卖股票的最大利益[找DP的状态定义到底缺什么?]](/img/14/cd6ed7452230571db2e027f61dbdba.png)
带手续费买卖股票的最大利益[找DP的状态定义到底缺什么?]

吃透Chisel语言.31.Chisel进阶之通信状态机(三)——Ready-Valid接口:定义、时序和Chisel中的实现

Xilinx约束学习笔记—— 时序约束

Enterprise training and reproduction guidebook - training and reasoning of the OpenPose model based on Huawei ModelArts platform, realizing the recognition of two behaviors of climbing and climbing ov

神经元网络
随机推荐
从云计算到函数计算
你认同这个观点吗?大多数企业的数字化都只是为了缓解焦虑
mysql操作入门(四)-----数据排序(升序、降序、多字段排序)
WebGPU 导入[2] - 核心概念与重要机制解读
LeetCode刷题(7)
逆变器绝缘检测检测功能及软件实现
A full review of mainstream timed task solutions
企业实训复现指导手册——基于华为ModelArts平台的OpenPose模型的训练和推理、基于关键点数据实现对攀爬和翻越护栏两种行为的识别、并完成在图片中只标注发生行为的人
MQ带来的一些问题、及解决方案
【机器学习】实验2布置:基于回归分析的大学综合得分预测
Facebook社媒营销的5大技巧,迅速提高独立站转化率!
View zombie processes
spark读取文件夹数据
OC-NSSet(集合)
OC-NSString
在VMware上安装Metasploitable2
队列题目:无法吃午餐的学生数量
2022夏暑假每日一题(六)
有趣的网站
主流定时任务解决方案全横评





