mysql> grant all privileges on *.* to 'root'@'%' identified by 'root654321' with grant option;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MySQL权限设置
本文介绍如何使用MySQL命令为用户分配所有权限,并刷新权限以确保更改生效。
6894

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



