Home >Database >navicat >What to do if navicat reports error 2005

What to do if navicat reports error 2005

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-06 09:18:415001browse

What to do if navicat reports error 2005

About Navicat for MySQL connecting to MySQL and reporting 2005 -Unknown MySQL server host 'localhost' (0) error situation and solution

What to do if navicat reports error 2005

##Related recommendations: "

Navicat for mysql graphic tutorial"

2005 error reason:

After the local MySQL service is started, some functions of Navicat need to be connected to the Internet before they can be used. Since an error message says that the localhost of the host cannot be connected, localhost needs DNS resolution before it becomes the local loopback address 127.0. .0.1, when the network is disconnected, localhost is a string without parsing.


Solution:

1. Solve the network problem and successfully connect to the Internet.


2. When there is no network, open the connection properties and change the localhost of the host name or IP address to 127.0.0.1. That’s it.


What to do if navicat reports error 2005What to do if navicat reports error 2005

The above is the detailed content of What to do if navicat reports error 2005. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is navicat for mysqlNext article:What is navicat for mysql