当前位置:网站首页>Public Key Retrieval is not allowed报错解决方案
Public Key Retrieval is not allowed报错解决方案
2022-07-30 15:43:00 【塔塔开!!!】
在使用 MySQL 8.0 时重启应用后提示 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
在登录功能中,输入正确的账号密码后,点击登录,没有跳到对应的界面,而是报了http 500的错误

解决方法是在连接数据库的
url中添加allowPublicKeyRetrieval=true
边栏推荐
猜你喜欢
随机推荐
Manage components using TiUP commands
Pytorch 训练技巧
动态规划 --- 状态压缩DP 详细解释
TiDB 工具下载
武汉星起航跨境电商有前景吗?亚马逊的未来趋势如何发展?
数据库-SQL
yarn的安装及使用教程
SMI 与 Gateway API 的 GAMMA 倡议意味着什么?
数组元素逆置
华为ADS获取转化跟踪参数报错:getInstallReferrer IOException: getInstallReferrer not found installreferrer
为什么数据需要序列化
【AGC】Open Test Example
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3
L2-007 家庭房产(vector、set、map的使用)
Array element inverse
STM32F407定时器输入捕获
Store Limit usage documentation
node.js中怎么连接redis?
xxl-job源码解析(技术分享)
Redis 复习计划 - Redis 数据结构和持久化机制








