当前位置:Gxlcms >
数据库问题 >
java访问数据库被拒绝,不能连接数据库ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
java访问数据库被拒绝,不能连接数据库ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
时间:2021-07-01 10:21:17
帮助过:6人阅读
root‘@
‘%‘ identified by
‘你的数据库密码‘;
flush privileges;
查看是否修改成功
select host,user from user;
java访问数据库被拒绝,不能连接数据库ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
标签:oca 技术 连接 ges from mysql数据库 sele root ESS