更新时间:2022-03-01 02:59:51
编辑驱动属性,将allowPublicKeyRetrieval改为YES
如图:
也可以在连接里添加该属性。
jdbc8.0 连接 mysql8.0 出现 Public Key Retrieval is not allowed