Host 'XXX' is not allowed to connect to this MySQL server解决方案

来源:互联网 发布:c语言打印倒直角三角形 编辑:程序博客网 时间:2024/04/29 15:16

Host ‘XXX’ is not allowed to connect to this MySQL server解决方案

  • mysql -u root -p 密码
  • use mysql
  • update user set host = ‘%’ where user = ‘root’;
  • FLUSH PRIVILEGES;

阅读全文
0 0
原创粉丝点击