密码重置
$ sudo sqlite3 /var/lib/grafana/grafana.db
sqlite> update user set password = ‘59acf18b94d7eb0694c61e60ce44c110c7a683ac6a8f09580d626f90f4a242000746579358d77dd9e570e83fa24faa88a8a6‘, salt = ‘F3FAxVm33R‘ where login = ‘admin‘;
sqlite>.exit
重启服务:
systemctl restart grafana-server
原文地址:http://blog.51cto.com/11512826/2105044