mysql远程连接权限grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option语句报错
·
mysql远程连接权限grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option语句报错
记录一下自己安装mysql遇到的小坑
grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option
只适用于mysql8.0之前的版本
之后采用这句:
create user root@'%' identified by '123456';
grant all privileges on *.* to root@'%' with grant option;
更多推荐
已为社区贡献1条内容
所有评论(0)