查询用户、密码
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 '密码';
上一篇:MongoDB用户及权限管理之角色说明的示例分析
下一篇:centos7 安装mysql