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.
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.
本文标题:客户端不支持服务器请求的身份验证协议;请考虑升级MySQL客户端
本文链接:https://www.haomeiwen.com/subject/fsltahtx.html
网友评论