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

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

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


相关文章: