Mysql 启动配置单元时,我遇到SSL错误。这是工作,但我不能执行扣,直到我解决错误
以下是错误:Mysql 启动配置单元时,我遇到SSL错误。这是工作,但我不能执行扣,直到我解决错误,mysql,hadoop,ssl,hive,mysql-connector,Mysql,Hadoop,Ssl,Hive,Mysql Connector,以下是错误: Tue Sep 12 03:21:00 IST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit
Tue Sep 12 03:21:00 IST 2017 WARN: Establishing SSL connection without
server's identity verification is not recommended. According to MySQL
5.5.45+, 5.6.26+ and 5.7.6+ requirements 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-site.xml上的Jdbc连接字符串中添加“?useSSL=false”来解决此问题 即
javax.jdo.option.ConnectionURL
jdbc:mysql://localhost/metastore?useSSL=false
元数据存储在MySQL服务器中
这是SSL警告,可以通过在hive-site.xml中的Jdbc连接字符串中放入“?usesl=false”来修复此警告 即
javax.jdo.option.ConnectionURL
jdbc:mysql://localhost/metastore?useSSL=false
元数据存储在MySQL服务器中
接受。我是新来的,所以对stackoverflow了解不多。还需要4分才能投票。再次感谢你的帮助。接受。我是新来的,所以我对stackoverflow了解不多。还需要再投4分。再次感谢你的帮助。
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:mysql://localhost/metastore?useSSL=false</value>
<description>metadata is stored in a MySQL server</description>