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: Local After the MySQL service is started, because some functions of Navicat need to be connected to the Internet, an error message says that the localhost of the host cannot be connected. The localhost needs DNS resolution before it becomes the local loopback address 127.0.0.1. In the case of disconnection , without parsing, localhost is a string. Solution:1. Solve the network problem and successfully connect to the Internet.The above is the detailed content of What should I do if navicat reports error 2005 when connecting to the database?. For more information, please follow other related articles on the PHP Chinese website!