Today, I used mysql to connect to the remote database and found that the link could not be connected (there was no problem with the link yesterday). Baidu found that there may be the following reasons:
1: The network is not available
2: The service is not started
3: The protective wall is closed
4: The firewall of the other server is not closed
5: The port is not being monitored
6: Insufficient permissions
Probably start to investigate with these few words:
Check whether the network with the other party is smooth and ping:
Press the win+r keys, enter cmd, and click OK.
Enter ipconfig and press Enter to view the default gateway.
Enter ping 192.168.0.254 and press Enter
As a result, the following four requests all failed, and the problem of network link failure seems to be found
This shows that it is a network problem.
Right-click to disable one by one and open it.
reconnect
PROBLEM SOLVED -.- THIS IS GREAT
If you are not in the same situation as me, try several other methods yourself.