grant all privileges on *.* to root@"%" identified by ".";报错问题

Posted loners

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了grant all privileges on *.* to root@"%" identified by ".";报错问题相关的知识,希望对你有一定的参考价值。

mysql 8.0已经不支持下面这种命令写法
grant all privileges on *.* to root@"%" identified by ".";

正确的写法是
grant all privileges on *.* to root@% ;

技术图片

 

以上是关于grant all privileges on *.* to root@"%" identified by ".";报错问题的主要内容,如果未能解决你的问题,请参考以下文章

Mysql grant all privileges on ...不生效解决方案

mysql 赋给用户远程权限 grant all privileges on

解决mysql的赋权操作之GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘123456‘ WITH GRANT OPTION问题

grant all privileges on *.* to 'root'@'%' identified by '123456' with grant

grant all privileges on *.* to root@"%" identified by ".";报错问题

Mysql授权GRANT ALL PRIVILEGES