How to reset the Admin password without gui access Zabbix

This is the simple method used to reset the Zabbix admin password.

Let’s Start Right Now

  1. Connect with root to the DataBase en mysql:

mysql -uroot -p

  1. Insert the password of the root user.

  2. Now select the db that you setup for the zabbix server:

MariaDB [(none)]> Use zabbix;

  1. Once you have the database selected you can reset your password using this command:

MariaDB [zabbix]> update zabbix.users set passwd=md5(‘YourPassHere’) where alias=‘Admin’;

  1. Now you can go to the GUI access and test the:

  2. Now you can exit from the mysql database:

MariaDB [(none)]> \q