[root@prod-php-s010 www]# sqlite3 /var/lib/grafana/grafana.db
sqlite> .tables
sqlite> select * from user;
sqlite> update user set password = '59acf18b94d7eb0694c61e60ce44c110c7a683ac6a8f09580d626f90f4a242000746579358d77dd9e570e83fa24faa88a8a6', salt = 'F3FAxVm33R' where login = 'admin';
sqlite> .exit
#直接修改数据库密码。无需重启。修改以后登录grafana 密码为admin 修改密码就好了
标签:sqlite,修改,admin,grafana,密码,user,忘记
From: https://www.cnblogs.com/anslinux/p/17154469.html