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

 

上一篇:mysql 时区问题导致的时间相差14小时


下一篇:基于单片机的图形控制芯片——瑞佑(RAIO)RA8889系列介绍(三)