服務器不支持ssl,mysql 提示ssl問題

 2023-10-21 阅读 34 评论 0

摘要:問題信息如下: rements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explic

問題信息如下:

rements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

上訴問題是在使用hive鏈接mysql報出來的問題,解決辦法在上述的信息中也提供了,

修改hive的配置文件hive-site.xml

jdbc:mysql://master:3306/hivedb?createDatabaseIfNotExist=true

修改成如下:
jdbc:mysql://master:3306/hivedb?useSSL=falsecreateDatabaseIfNotExist=true

?

轉載于:https://www.cnblogs.com/yjt1993/p/11498813.html

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/154230.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息