客户端不支持服务器请求的身份验证协议;请考虑升级MySQL客户端
2020-05-21 本文已影响0人
喜之郎亲亲
Java在用JDBC连接Mysql时,执行到:
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/aa","root","jian8182");
时,报错:
Client does not support authentication protocol requested by server; consider upgrading MySQL client
解决步骤:
1.