smallsnail-wh/wh-server

登陆的时候后台报错

wujie1314 opened this issue · 2 comments

org.springframework.security.access.AccessDeniedException: Access is denied 报这个错误

org.springframework.security.access.AccessDeniedException: Access is denied 报这个错误

org.springframework.security.access.AccessDeniedException: Access is denied 报这个错误

看一下是不是mysql的问题,8.0默认用caching_sha2_password进行身份验证,在sql命令台下执行ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '这里放你密码';
flush privileges; 试试呢。我也是这个问题,改了之后就解决了