表示被root用户拒绝
授权:
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; Query OK, 0 rows affected, 1 warning (0.00 sec)
重启:
systemctl stop mysqld systemctl start mysqld
计算机网络/计算机科学与应用/系统/运维/开发
表示被root用户拒绝
授权:
mysql> grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; Query OK, 0 rows affected, 1 warning (0.00 sec)
重启:
systemctl stop mysqld systemctl start mysqld
业精于勤而荒于嬉,行成于思而毁于随