MySQL授权

来源:互联网 发布:redis 放入json对象 编辑:程序博客网 时间:2024/05/17 06:59

grant   all   privileges   on   *.*   to   root@"%"   identified   by   '123456'   with   grant   option;   

root是登陆用户

%是所有都可以登陆,也可以写成ip地址

123456是登陆密码

原创粉丝点击