无法连接到 MySQL;所有用户,权限检查了很多次

Not able to connect to MySQL; All User, Privileges checked so many times

我已经在 linux 盒子上安装了 MySQL。能够使用 root 本地连接。无法在我的笔记本电脑上使用 MySQL 客户端进行连接。我尝试创建很多用户;使用户所有权限都可以..

做了很多 Google.. 仍然没有帮助!

问题出在 my.cnf 文件

中的配置
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address           = 127.0.0.1

因此默认情况下 mysql 配置为仅在本地连接。我们需要注释此行以允许 mysql 从另一台笔记本电脑连接。在此之后我们仍然需要所有权限等。这是增加的安全级别。