mysql创建远程用户

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

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

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


posted on 2012-10-25 19:34  haven24  阅读(1458)  评论(0)    收藏  举报

导航