在连接地址后面加上<code>allowPublicKeyRetrieval=true</code>
<code>url: jdbc:mysql://localhost:3306/DB01?useUnicode=true&characterEncoding=UTF8&useSSL=false&allowPublicKeyRetrieval=true</code>
在连接地址后面加上<code>allowPublicKeyRetrieval=true</code>
<code>url: jdbc:mysql://localhost:3306/DB01?useUnicode=true&characterEncoding=UTF8&useSSL=false&allowPublicKeyRetrieval=true</code>