遇到的问题:java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
(此类的错误多半是数据库连接驱动的8.0以上版本)
【注意】
如果MYSQL数据库8.0以上连接需要做以下配置:
jdbc.driver=com.mysql.cj.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/chiship_template?useUnicode=true&allowPublicKeyRetrieval=true&characterEncoding=UTF8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.username=root
jdbc.password=123456
jdbc.database=chiship_template