1、登录mysql mysql -u root -p 2、查看现有用户 mysql> select host,user,authentication_string from mysql.user; +-----------+---------------+-------------------------------------------+ | host | user | authentication_string | +-----------+---------------+---------------…