Centos 7 – Reset password to zabbix admin

Enter MySQL

mysql -uroot -p

Find DB

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| zabbix             |
+--------------------+
4 rows in set (0.00 sec)

MariaDB [(none)]>

If your DB is Zabbix just run command below if not zabbix just change zabbix to your own zabbix DB

update zabbix.users set passwd=md5('mynewpassword') where alias='Admin';

Leave a comment

Your email address will not be published. Required fields are marked *