About Navicat for MySQL connecting to MySQL and reporting 2005 -Unknown MySQL server host 'localhost' (0) error situation and solution
##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.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!