# mysql
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456';
mysql> flush privileges;
mysql> exit
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456';
mysql> flush privileges;
mysql> exit
本文将指导您如何在MySQL中使用GRANT语句为root账户设置全权限,并通过FLUSH PRIVILEGES刷新权限。
2594
608
469

被折叠的 条评论
为什么被折叠?