mysql 建立用户并受权

1.create user 'orderSystem'@'%' identified by 'os123456';  数据库

    建立用户名为 orderSystem ,密码为os123456,   %表示能够在本地和远程登陆 ide

2.grant all on quick.* to 'orderSystem'@'%';  ui

    赋予quick数据库的全部表权限给orderSystem用户登录

相关文章
相关标签/搜索