我正在尝试将 MySql Server 从我的机器连接到服务器,以供开发使用。在服务器中,MySql 运行正常,但我无法远程连接它。
我已经检查了 my.cnf 删除了“skip-networking”行。在服务器中,bin/mysqladmin 变量返回:
bin/mysqladmin version -u root -pPASSWORD
bin/mysqladmin Ver 8.42 Distrib 5.5.27, for linux2.6 on x86_64
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Server version 5.5.27-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /tmp/mysql.sock
Uptime: 5 min 55 sec
Threads: 1 Questions: 1 Slow queries: 0 Opens: 33 Flush tables: 1 Open tables: 26 Queries per second avg: 0.002
- 服务器:SuSe Linux
- 客户端:Windows 7
- MySql:根据上面的信息。
会发生什么?谢谢!