数据库 1查询 Select * From table select host,user,password from mysql.user where user='ybb' and host='%'; 查询用户 select user,host,password from mysql.user;(查看用户,IP,密码对应表)select user,host,db from mysql.db;(查看用户,IP,数据库对应表)select distinct user from mysql.user;…