重置grafana密码

[root@host~]# sqlite3 /var/lib/grafana/grafana.dbsqlite version 3.7.17 2013-05-20 00:56:22Enter ".help" for instructionsenter sql statements terminated with a ";"sqlite> select * from user;1|0|admin|admin@localhost||9ae4590dc0933b5086b24d6f3f844f34634c8855b4cf2e4b325179431712b7f26da88222fe22875af3981f42129251d9fe2c|MrxEF1hOqo|oZ6ineBsQI||1|1|0||2019-06-28 09:33:20|2019-06-28 09:35:55|0|2019-06-28 10:14:13sqlite> update user set password = '59acf18b94d7eb0694c61e60ce44c110c7a683ac6a8f09580d626f90f4a242000746579358d77dd9e570e83fa24faa88a8a6',   ...> salt = 'F3FAxVm33R'    ...> where login = 'admin';sqlite> .exit重启服务[root@host]#systemctl restart grafana-server.service重置后密码登录grafana:admin/admin

相关文章

SQLite架构简单,又有Json计算能力,有时会承担Json文件/RES...
使用Python操作内置数据库SQLite以及MySQL数据库。
破解微信数据库密码,用python导出微信聊天记录
(Unity)SQLite 是一个软件库,实现了自给自足的、无服务器...
安卓开发,利用SQLite实现登陆注册功能