mysql access denied 问题

遇到mysql出现 access denied for root 时:
创建用户,再授权/。

grant all privileges on . to 用户名@‘%’ ,后面的identified by 新版sql不能用了,因为授权和创建用户分开了。

猜你喜欢

转载自blog.csdn.net/qq_35469374/article/details/88919739