On my workbench I try to create a new connection with following setting
Connection Name: localhost
Connection Method: Standard TCP/IP
Host Name: localhost
Port: 3306
User Name: root
When I try to use "Test Connection" button, an error message show as following Failed to Connect to MySQL at localhost:3306 with user root
can't connect to MySQL server on "127.0.0.1"(61)
Any suggestion?
Check your mysql installation:
Check your MySQL are opened on 127.0.0.1 IP.
If MySQL are opened on correct IP and port, update workbench, and also, try to re-type the IP address on workbench (I've check these process work on lot of cases).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.