如果你想连接你的mysql的时候发生这个错误:

ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL server

这个时候需要授权:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.3' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
flush privileges;

就可以了。

相关文章:

  • 2021-07-27
  • 2022-12-23
  • 2021-11-04
  • 2021-10-17
  • 2021-07-28
  • 2021-10-14
猜你喜欢
  • 2021-04-05
  • 2021-10-04
  • 2021-07-26
  • 2021-05-29
相关资源
相似解决方案