背景:mysql中删除又想重建zabbix用户,但是执行创建命令报错。
解决方法:
drop user zabbix@localhost;
flush privileges;
create user zabbix@localhost identified by 'password'
背景:mysql中删除又想重建zabbix用户,但是执行创建命令报错。
解决方法:
drop user zabbix@localhost;
flush privileges;
create user zabbix@localhost identified by 'password'