1. 程式人生 > >mysql遠程連接報錯

mysql遠程連接報錯

body serve 遠程連接 mysql遠程連接 遠程 line update connect root

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

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

mysql遠程連接報錯