Public Key Retrieval is not allowed 原因:没有启动mysql 在用mybatis生成代码的时候出现Public Key Retrieval is not allowed错误 原因:没有启动mysql 先启动mysql 再次点击重新生成 完成