Unable to Login: Forgot Password option also not working. Please Help

I was able to login with my email ID and password for the entire last week.
But recently it took me to the login page and I tried inserting the credentials but it did not work.
If I chose the “forgot password” option, I am still not getting the link on my email.

Please Help, this is urgent.

I was able to login with my email ID and password for the entire last week.

Do you mean that you logged in once and the session remained active for the
entire week, or do you mean that you were able to log in on multiple occasions
during that time?

But recently it took me to the login page and I tried inserting the
credentials but it did not work. If I chose the “forgot password” option,
I am still not getting the link on my email.

Are you also the administrator of this Grafana instance?

If so, have you tried logging in with the admin account and then re-setting
the password for your user account?

Please Help, this is urgent.

Please be patient; we are volunteers.

Antony.

If you are forgot admin password and admin of the grafana server, you can reset the admin password as follow:

grafana-cli admin reset-admin-password <your-new-password>

Then login with admin using your new password.

Thanks a lot for helping out.

Yes, I must be the admin as I have created my account by following all the steps mentioned on the official site. no one else uses my pc. I was using it on localhost:3000. It didn’t ask me for the password and id for a week or so. But now it is asking me and I am unable to log in or get a password reset email.

I am a complete newbie. Please bear with me.

But where should I enter this command? command prompt?

Yes… at server that serves Grafana