Unable to login

I had installed grafana and I don’t remember changing the password. So when I am trying to login using the default credentials admin/admin its giving me incorrect username/password. I had not provided any email id so unable to get the password reset link. Please help me out with this issue.

Hi,

Try this : How do i reset admin password?

1 Like

I use MSSQL, not SQLlite. So this won’t work

Try going in to MSSQL and updating the user table with:

update user set password =
‘59acf18b94d7eb0694c61e60ce44c110c7a683ac6a8f09580d626f90f4a242000746579358d77dd9e570e83fa24faa88a8a6’,
salt = ‘F3FAxVm33R’ where login = ‘admin’;

Note: the above is the command you would use for SQLite, but I’m sure MSSQL
can’t be too different. This should reset the “admin” account’s password to
“admin”.

Antony.

1 Like

Hey, thanks for your help. But, I was able to reset the password. Just added the grafana cli path in the environment variable → open cmd as administrator → cd to the grafana-cli → write the command: grafana-cli admin reset-admin-password your_new_password. And done!