奇迹969

 

数据库回顾

创建用户:create user  ‘lyz’@'localhost'  identified  by  '123';

授权创建用户: grant all on  day-49.*  to 'lyz@localhost'  identified by '123';

注意:  用户名和地址  的  引号 位置的不同         数据库文件不需要引号。

 

查看已创建用户: select  user   from  mysql.user

删除用户 drop user   ‘lyz’@'123'  (username:lyz   passwordd:123)

 

posted on 2019-05-09 15:15  奇迹969  阅读(86)  评论(0编辑  收藏  举报

导航