【发布时间】:2013-10-31 02:40:31
【问题描述】:
一切正常,我有 Windows 8 和 MySQL 5.6 工作台。
昨天,我升级到了 Windows 8.1,这让 PC 运行得更好,但把 MySQL 搞砸了。
当我进入工作台时,我可以看到我的旧连接,但通过单击它我得到:
Cannot Connect to Database Server
Your connection attempt failed for user 'root' from your host to server at
127.0.0.1:3306:Can't connect to mysql server on '127.0.0.1'(10061)
Please:
1. Check that mysql is running on server 127.0.0.1
2. Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
3. Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)
4. Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from the host address you're connecting from.
【问题讨论】:
-
你检查你的防火墙设置了吗?
-
MySQL服务是否启动成功?你的 MySQL 是否在监听 3306 端口?
-
现在,我关闭了防火墙,它现在可以工作了,但是我所有的 SCHEMAS 都不见了(天哪!!)
标签: mysql mysql-workbench