020.mysql-允许root远程连接

update user set host='%' where user='root';

flush privileges;

原文地址:https://www.cnblogs.com/star521/p/14244360.html