查询用户、密码
1、select host,user,password from mysql.user;
更改密码
2、update mysql.user set password=password("openstack") where user='keystone' and host='localhost';
授权:grant all privileges on zabbix.* to zabbix@localhost identified by '密码';
转载于:https://blog.51cto.com/weiyang180/1905152