可以使用sqlites修改admin密码
默认密码修改为:admin,命令行如下:
[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