创建用户: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)