Most likely, your configuration is configured for the IP address that has been changed. By default, mysql will not allow you to connect from remote hosts unless you explicitly give permission for a specific user in a particular scheme or group of schemes, for example, if you did something like this:
GRANT ALL PRIVILEGES ON *.* TO 'USERNAME'@'1.2.3.4' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;
It is possible that you actually did to install the grant on your own IP address, that is, the address of your local computer, and if your local computer (and not the remote server) changed its IP address, then mysql will not allow you to connect, if you do not have the IP address "1.2.3.4", which obviously you no longer have if you have a dynamic IP address (shared with DSL / cable connections)
So, connect via SSH or Telnet or whatever you use on your Windows server and go to mysql as root and do the following:
SELECT * from information_schema.user_privileges;
This will show you grants for all users and how they are allowed to connect. If you do not see the local IP address indicated there, or a wildcard (which will allow you to connect from any remote computer to the server), you should configure it as follows:
GRANT ALL PRIVILEGES ON *.* TO 'USERNAME'@'%' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;
If USERNAME is your user. See that after that there is a wildcard / dot / wildcard, which means that you want this user to be able to connect to any schema (database for mysql) from any user from any network. But I would recommend that you provide only a grant for the user for a specific scheme to which you need to connect.
Then after that, if you really have the right information and still cannot connect, than use portscanner, for example nmap or something like that, to perform a port scan and see if there is mysql:
- Open and listen to the external network.
- Launch on the port that you really want to connect through
If 1 is true, then check 2 because there may be a wrong port configuration. But if either of these two points works, then it definitely doesnโt sound like a network configuration, but a user preference or something else.