Remotely connect yourself or someone else's MySQL when prompted with a hint: "1130-host ' win7 ' is not allowed to connect to this MySQL server", meaning that the host does not allow connections to the MySQL server, not allowed because the connecting party does not have sufficient permissions. There are two solutions:
Method One:
1) Allow any user to connect:
Update user set host= '% ' where user= ' root ';
Flush privileges;
2) Allow IP 192.168.1.3 connection
Update user set host= ' 192.168.1.3 ' where user= ' root ';
Flush privileges;
3) Allow IP to be any user connection beginning with 192.168.1:
Update user set host= ' 192.168.1% ' where user= ' root ';
Flush privileges;
Method Two:
1) Allow any user to use Root/root connection
Grant all privileges on * * to ' root ' @ '% ' identified by ' root ' with GRANT option;
Flush privileges;
2) allow the user root to connect to the MySQL server from the IP-192.168.1.3 host and use root as the password
Grant all privileges on * * to ' root ' @ ' 192.168.1.3 ' identified by ' root ' with GRANT option;
Flush privileges;
3) Allow user root to connect to the MySQL server's DK database from the IP-192.168.1.3 host and use root as the password
Grant all privileges the dk.* to ' root ' @ ' 192.168.1.3 ' identified by ' root ' with GRANT option;
Flush privileges;
1130-host ' Win7 ' isn't allowed to connect to this MySQL server