java.sql.SQLException: Access denied for user 'root'@'localhost' (using password:YES)错误

来源:互联网 发布:java培训课程哪家好 编辑:程序博客网 时间:2024/05/16 06:47
未给localhost root用户授权,新建一个localhost root用户,然后授权给他create user 'root'@'localhost' identified by '你的密码';grant all privileges on *.* to root@'localhost';
0 0