mysql创建远程用户

  1. grant all privileges on *.* to myuser@"%" identified by 'password';   
  2. 用root用户登陆,然后:

    grant all privileges on *.* to 创建的用户名 @"%" identified by "密码";

    flush privileges; * 刷新刚才的内容*

原文地址:https://www.cnblogs.com/kingsZh/p/5816872.html