https://www.cnblogs.com/Loners/p/12348366.html MySQL 8.0已经不支持下面这种命令写法 grant all privileges on *.* to root@"%" identified by "."; 正确的写法是先创建用户
CREATE USER 'root'@'%' IDENTIFIED BY 'Hadoop3!'; 再给用户授权
grant all privileges on *.* to 'root'@'%' ;
2022-11-07 23:05:30
https://www.cnblogs.com/Loners/p/12348366.html MySQL 8.0已经不支持下面这种命令写法 grant all privileges on *.* to root@"%" identified by "."; 正确的写法是先创建用户
CREATE USER 'root'@'%' IDENTIFIED BY 'Hadoop3!'; 再给用户授权
grant all privileges on *.* to 'root'@'%' ;
下一篇:SQL:数据库的安全性