专题文章
时长:00:00更新时间:2024-05-02 23:28:30
登录root账户创建普通账户并给普通账户授权:(1)创建一个密码为“123456”的普通用户账户“databasenormal',(2分):create user' databasenormal'@’localhost' identified by' 123456’;(2)创建名为student的数据库;(2分)create database student,(3)创建名为student2的表,包括stuno(学号列)、stubir(生日列)、age(年龄列),并设置主键为stuno;(8分)create table student2(stuno char(50),stubir char(4),age int,PRIMRY KEY stuno);(4)使用grant命令对其进行student数据库的student2的表的stuno列的select操作授权;(2分)gr
查看详情