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;