com.mysql.cj.jdbc.exceptions.CommunicationsException : Communications link failu

188 阅读1分钟

这个问题一直没被解决,我的配置是将mysql配置在windows系统,然后用linux中的hive连接到windows上的mysql,试过了将用户权限赋予,试过将端口打开,但是都不行 如何开放权限: blog.csdn.net/weixin_4000… blog.csdn.net/wd2014610/a…

这个问题都是因为连不上windows系统上的mysql,可以根据以下博客判断是否能连接上: blog.csdn.net/weixin_2908…

最后还是因为windows的防火墙惹的祸,直接将3306端口写入入站规则就行了,参考方法:blog.csdn.net/ttf1993/art…