配置里设置的MySQL密码没问题
使用命令schematool -dbType mysql -initSchema后报出以下错误
Metastore connection URL: jdbc:mysql://192.168.56.1:3306/hive?serverTimezone=Asia/Shanghai
Metastore Connection Driver : com.mysql.cj.jdbc.Driver
Metastore connection User: root
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
Underlying cause: java.sql.SQLException : Access denied for user 'root'@'192.168.56.103' (using password: YES)
SQL Error code: 1045
Use --verbose for detailed stacktrace.