java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
SpringBoot启动报错:java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowedmysql8.0或者8.0以上的版本的url后面加上allowPublicKeyRetrieval=true就行了spring.datasource.url=jdbc:mysql://localhost:3306/db_test1?serverTimezone=GMT&allowPublicKeyRetrie