Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 16, 2019 3:53 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Reset cacti password
PostPosted: Mon Jun 03, 2019 2:58 am 
Offline

Joined: Thu May 30, 2019 11:38 am
Posts: 2
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.


Top
 Profile  
 
 Post subject: Re: Reset cacti password
PostPosted: Fri Jun 07, 2019 8:32 am 
Offline

Joined: Sun Jun 21, 2015 6:06 am
Posts: 9
Hello,

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)


Top
 Profile  
 
 Post subject: Re: Reset cacti password
PostPosted: Fri Jun 07, 2019 3:38 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
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.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group