# Default Database SQLite

**URL:** <https://community.grafana.com/t/default-database-sqlite/8667>\
**Category:** General\
**Created:** [July 10, 2018, 6:28am UTC](https://community.grafana.com/t/default-database-sqlite/8667 "2018-07-10T06:28:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beackly](https://avatars.discourse-cdn.com/v4/letter/b/8491ac/32.png) [@beackly](https://community.grafana.com/u/beackly)\
**Post date:** [July 10, 2018, 6:28am UTC](https://community.grafana.com/t/default-database-sqlite/8667/1 "2018-07-10T06:28:55Z")

</div>

Hi everyone,  
I just want to learn is it possible to reach the default database sqllite without using any API and change it?And can i learn how sqllite works behind the grafana? Additionally, does grafana hashs the dashboards when created or not?  
Lastly, is it possible to run insert-update-delete commands for sqlite to add or delete grafana dashboards?

Can you help me as soon as possible?

Regards,

---

<div class="post-metadata">

**Author:** ![anon34853223](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon34853223](https://community.grafana.com/u/anon34853223)\
**Post date:** [July 26, 2018, 9:22am UTC](https://community.grafana.com/t/default-database-sqlite/8667/2 "2018-07-26T09:22:03Z")

</div>

> [@beackly](#):
>
> I just want to learn is it possible to reach the default database sqllite without using any API and change it?And can i learn how sqllite works behind the grafana?

If you have access to the grafana instance you can connect using the [cli](https://www.sqlite.org/cli.html) or DB browser for sqlite.

> [@beackly](#):
>
> can i learn how sqllite works behind the grafana?

See [code](https://github.com/grafana/grafana/tree/master/pkg/services/sqlstore/migrations) and/or use the cli/db browser for sqlite to explore tables and columns

> [@beackly](#):
>
> Lastly, is it possible to run insert-update-delete commands for sqlite to add or delete grafana dashboards?

In theory yes, but probably easier to do this thru the api. Highly recommended to use the api since there are validation executed in case you do something unsupported.

Marcus

---

<div class="post-metadata">

**Author:** ![anon80964540](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@anon80964540](https://community.grafana.com/u/anon80964540)\
**Post date:** [January 13, 2021, 4:40pm UTC](https://community.grafana.com/t/default-database-sqlite/8667/3 "2021-01-13T16:40:27Z")

</div>

Closed on January 13, 2021, 4:40pm UTC


