DataGrip连接hive失败需要查看的事项

这里写自定义目录标题

一 、查看是否下载了相应的hive 的 jdbc版本,我用的是hive-jdbc-3.1.1.jar
二、更改hive-site.xml文件和core-site.xml 文件。

hive-site.xml文件更改:


	 
    javax.jdo.option.ConnectionURL
    jdbc:mysql://test50:3306/metastore?createDatabaseIfNotExist=true&useSSL=false
    JDBC connect string for a JDBC metastore
  

  
    javax.jdo.option.ConnectionDriverName
    com.mysql.jdbc.Driver
    Driver class name for a JDBC metastore
  

  
    javax.jdo.option.ConnectionUserName
    储存元数据的mysql用户名,一般是root
    username to use against metastore database
  &l

你可能感兴趣的:(hive,hadoop,big,data,dba,hdfs)