时间:2021-07-01 10:21:17 帮助过:44人阅读
hive-site.xml 中添加
<property> <name>javax.jdo.option.ConnectionURL</name> <value>jdbc:mysql://h136:3306/metastore?createDatabaseIfNotExist=true&useSSL=true</value> </property> <property> <name>javax.jdo.option.ConnectionDriverName</name> <value>com.mysql.jdbc.Driver</value> </property> <property> <name>javax.jdo.option.ConnectionUserName</name> <value>root</value> </property> <property> <name>javax.jdo.option.ConnectionPassword</name> <value>root</value> </property>
执行初始化
schematool -dbType mysql -initSchema
Hive-元数据配置到 MySQL
标签:html src its img exce col mat ada ast