SQL语句,grent all privileges on *.* to monty@localhot identified by'something' with grant option

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/05 15:53:59

SQL语句,grent all privileges on *.* to monty@localhot identified by'something' with grant option

这是SQL的授权语句
给在本地通过'something'密码登录的monty用户在所有数据库上的所有权限,并且可以将自己的权限授予他人.
all privileges :所有权限
on *.* :所有的数据库
monty@localhot identified by'something' :用户名monty,本地登录localhost,密码something
with grant option:可以将自己的权限授予他人