无法从Windows

时间:2017-02-18 23:37:53

标签: mysql tcp dbvisualizer

我正在尝试在CentOs7服务器上使用MySql,主要是在Windows机器上使用ssh。我似乎无法从我在Windows端运行的DBVisualizer连接到端口3306。 我在DBVisualizer GUI中收到以下错误:

An error occurred while establishing the connection:

Long Message:
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Details:
   Type: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
   SQL State: 08S01

我没有问题通过端口22进行搜索。在这个问题上有很多帖子,其中包括UnixStack的其他帖子:

Can't connect to MySQL server on (ip or domain name)

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure

我已经看过每一个并试图实现它们,但似乎没有任何工作。我已经多次重新配置了iptables。我用这个输出在端口上运行了nmap。

Not shown: 997 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
3306/tcp open  mysql
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).

第二篇文章确实表明它可能是JDBC问题,但我不确定如何检查,特别是因为我试图通过IDE连接。

0 个答案:

没有答案