表示被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
人生建议:不要因为嘴硬而失去重要的东西,清醒,知趣,明得失,知进退。