MySQL数据库中如何查询所有用户

select user,host from mysql.user;

原文地址:https://www.cnblogs.com/fengting0913/p/12969742.html