小程序开发遇到的问题

1.Host is not allowed to connect to this MySQL server解决方法

  1. 在装有MySQL的机器上登录MySQL mysql -u root -p密码
  2. 执行use mysql;
  3. 执行update user set host = ‘%‘ where user = ‘root‘;这一句执行完可能会报错,不用管它。
  4. 执行FLUSH PRIVILEGES;

参考:https://blog.csdn.net/qq_23689053/article/details/79138462

小程序开发遇到的问题

上一篇:微信redirect_uri域名与后台配置不一致,错误代码10003


下一篇:JS原生实现的简单万年历(平铺)