mysql数据库更改用户密码和用户授权
更新:HHH   时间:2023-1-7


查询用户、密码

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 '密码';


返回数据库教程...