mysql远程连接报错

  1. use mysql;
  2. update user set host = '%' where user = 'root';
  3. FLUSH PRIVILEGES;

"Host is not allowed to connect to this MySQL server"

原文地址:https://www.cnblogs.com/8386blogs/p/8454190.html