mysql创建远程用户

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

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

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

posted @ 2016-08-29 10:01  KingsZh  阅读(130)  评论(0编辑  收藏  举报