查询所有用户
mysql> select host, user, password from user; -- 5.7版本之前的 mysql> select host, user, authentication_string from user; -- 5.7版本之后的,包括5.7
查询所有用户
mysql> select host, user, password from user; -- 5.7版本之前的 mysql> select host, user, authentication_string from user; -- 5.7版本之后的,包括5.7