Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the mysql error 2005 problem

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to solve the problem of mysql error 2005. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Mysql error 2005 solution: 1, close the data run; 2, open Navicat premium;3, modify the connection address and save.

This article operating environment: Windows7 system, mysql5.6.26 version, Dell G3 computer.

How to solve the mysql error 2005 problem?

This question suddenly arises before today's reply. Baidu has done a lot of things, but I don't know which one worked.

There is a 2005 error connecting to Navicat Premium. The error code means that the host localhost cannot be connected.

The following problems occurred when starting the server from cmd

1. Turn off data operation

E:\ mysql\ mysql-5.6.26-winx64\ bin > mysqladmin-u root-p shutdown

2.e:\ mysql\ mysql-5.6.26-winx64\ bin > mysql-uroot-p-hlocalhost

After this, I can connect to the mysql database from the system I made, but Navicat Premium still reported an error.

Then my classmate told me

After changing the connection address, Navicat premium can connect normally.

This is the end of this article on "how to solve the problem of mysql error 2005". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report