报错 设置hive-site.xml文件,在jdbc连接mysql的connectionURL后面加上“useSSL=true”。注意,因为是xml文件,要加上“&”而不是普通url的“&”。如下: 解决办法截图