So having a password manager but not actually saving the password in it is not a great idea…
So I’ve reset the password using
php /opt/emoncms/modules/usefulscripts/resetpassword.php
But then I needed to find out the username so thought I’d take a look in the database.
Found the DB details in /var/www/emoncms/settings.ini
but getting access denied doing the below
mysql -u emoncms -p emonpiemoncmsmysql2016
I was then going to try a
SELECT * FROM users;