Recently, in the company's development project and setting up the environment, after installing MySQL, it got stuck, and neither the java program nor navicat could connect to the MySQL local database. I have
no
choice but to find the problem, enter the dos command, MySQL is running normally, everything is normal, so there are various online I tried each method, but all ended in failure. I accidentally saw that the port in my.ini
was changed to 3309, so I immediately changed the navicat port to 3309, and the connection was successful! problem solved!
mysql connection problem Can't connect to MySQL server on localhost (10061) solution
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327006769&siteId=291194637
Recommended
Ranking