How do you establish a connection to a running MySQL server from Workbench on Windows? According to the MySQL Installer, it MySQL Server 5.7.20 is installed in Program Files. Upon test connection to localhost, I receive error code 10061: Can't connect to MySQL server on 127.0.0.1
Try to add exception to firewall to allow SQL server service and check. Might be firewall blocking this connection on your system.