signed

QiShunwang

“诚信为本、客户至上”

mysql8 允许外网访问

2020/8/20 14:32:49   来源:
mysql -u root -p
use mysql;
update user set host='%' where user ='root';
FLUSH PRIVILEGES;  #刷新权限
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION;

参考链接