I use my remote MySQL database during long time.
But today I suddenly have found that I cannot connect to the database. I have got an error.
I ran into this problem when installing MySQL 8 on a Windows 10 machine. Most of the solutions found on the internet are setting skip-name-resolve
which never worked for me. At last I found out this one which worked for me:
netsh winsock reset
Then reboot the computer. Also try set
127.0.0.1 localhost
in %windir%\System32\drivers\etc\hosts
if needed.