MySQL学习笔记(二)—MySQL常用配置
MySQL-JDBC-URL异常
# URL:jdbc:mysql://hdp-cluster-6:3306/hive_a?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&useSSL=true
# 异常信息:The reference to entity "useUnicode" must end with the ';' delimiter.
# 原因:数据源配置时加上编码转换格式后出了问题
# 解决办法:字符转义 &--> &
URL:jdbc:mysql://hdp-cluster-6:3306/hive_a?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&useSSL=true