查询用户、密码

1select host,user,password from mysql.user;

更改密码

2update mysql.user set password=password("openstack") where user='keystone' and host='localhost';

 

授权:grant all privileges on zabbix.* to zabbix@localhost identified by '密码';