题目内容
账户权限授予和回收以及权限生效时机:(1) 登入root账户并创建一个密码为“123456”的普通用户账户“dbnormal”; (3分)(2)使用一条sql语句修改账户dbnormal@localhost用户密码为‘654321’并对其授予全局的select、delete、create权限。(3分)(3)在root账户查看账户dbnormal@localhost的权限并在另外的终端登录dbnormal@localhost账户,使用select查询student数据库student2表的所有内容。 (5分)(4)在root账户下回收全局的select 权限。(3分)(5)返回dbnormal账户使用select语句查看student数据库中student2表的信息,并查看所有权限。(3分)(发现仍可查询到信息,但select权限不存在了)(6)重新登录dbnormal账户并使用select语句查询student数据库的student2表中全部内容。(3分)
查看答案
搜索结果不匹配?点我反馈
更多问题