grafana忘记密码

find / -name "grafana.db"

sqlite3 grafana.db

.tables **

select * from user; **

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

.exit

 重启 grafana后生效,账户密码都被重置为 admin 了

posted @ 2024-06-06 11:22  郭大侠1  阅读(15)  评论(0编辑  收藏  举报