表示被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
只要一个人还有追求,他就没有老。直到后悔取代了梦想,一个人才算老。熬过了必须的苦,才能过上喜欢的生活。