Admin password reset

I have tried to use grafana cli reset password command but it doesn’t work.

I have found out alternate method to reset grafana password in local.

  1. Search for grafana.db file in system
  2. run this command on your terminal
    sqlite3 grafana.db
  3. sqlite command prompt will open run below query
    delete from user where login='admin'
    Thats’s it restart your grafana it will ask you to reset your password.
2 Likes