現象
Mybatis和Spring框架整合過程中報
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
解決辦法
在連接URL后面添加
allowPublicKeyRetrieval=true
Mybatis和Spring框架整合過程中報
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
在連接URL后面添加
allowPublicKeyRetrieval=true
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。