錯誤代碼是Access denied for user 'root'@'%' to database 'xxx
解決方法:
進入mysql命令行,輸入下面命令:
grant all on xxxx.* to 'root'@'%' identified by 'password' with grant option;
xxxx代表創建的數據庫;
password爲用戶密碼,在此爲數據庫的密碼
錯誤代碼是Access denied for user 'root'@'%' to database 'xxx
解決方法:
進入mysql命令行,輸入下面命令:
grant all on xxxx.* to 'root'@'%' identified by 'password' with grant option;
xxxx代表創建的數據庫;
password爲用戶密碼,在此爲數據庫的密碼
## spring security https://github.com/jitwxs/blog-sample/tree/master
https://blog.csdn.net/zhuizhufanxin123/article/details/103982940