Reset cacti password

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Posts: 2
Joined: Thu May 30, 2019 11:38 am

Reset cacti password

#1 Post by sochorn » Mon Jun 03, 2019 2:58 am

Hell All Dear,
Please guide me to reset cacti 1.0.6 from mysql. Because I try to reset a several time but still unable to login.

Posts: 14
Joined: Sun Jun 21, 2015 6:06 am

Re: Reset cacti password

#2 Post by mmandrino » Fri Jun 07, 2019 8:32 am


Try to search the forum. This is a well know issue

If you have mysql user and pass you can login and change it via SQL command like:

mysql -u root -p

once you have

Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 6419
Server version: 5.5.60-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> update user_auth set password=md5('admin') where username='admin';

if you don't know User and pass for mysql, you have it in config.php inside include folder (if you finished the install - if you didn't just reinstall)

Cacti Guru User
Posts: 3131
Joined: Sun Aug 27, 2017 12:05 am

Re: Reset cacti password

#3 Post by netniV » Fri Jun 07, 2019 3:38 pm

Make sure you connect to the database and server used in the config.php file. You will also find the username/password in there too.

If you connect to the wrong server or database, you'll be updating a different admin password.

Post Reply