mysql 提示ssl问题


问题信息如下:

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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM