##1.创建用户: create user test identified by '123456';##identified后面跟密码 ##2.查询所有用户: select user from mysql.user; ##3.给用户添加所有权限: #用户详情的权限列表请参考MySQL官网说明:http://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html GRANT ALL ON shop.* TO 'test'@'%' WITH…