#切换数据库use mysql;#查询用户select host,user,plugin from mysql.user;#创建新用户、密码create user 'Test'@'%' identified with mysql_native_password by 'Test@123456';
#授权 grant all privileges on 数据库名称.* to Test; #查看用户权限 show grants for Test;