Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3881

Automation, sensing and robotics • Re: Would SQLite works well with Grafana

$
0
0
New to Linux. May I have some pointers in basic stuff on 'user'.

Logged on as user0, on terminal, sqlite3 my_db.db, CREATE TABLE..., INSERT .... my_db.db is a file in /home/user0 folder.

Grafana seem requites the sqlite database owned by user "grafana:grafana" and be placed in specifc folder. /var/lib/grafana/grafana.db is the demo.).

How "should" that works? I can manually sudo cp my_db.db into the same folder as the grafana.db and sudo chown as grafana:grafana and it works. Where did the grafana:grafana user come from? I did not ADD the grafana:grafana user? Did not see in /home/ folder with name grafana???

Many thanks

Statistics: Posted by David16962 — Sun Aug 25, 2024 11:23 pm



Viewing all articles
Browse latest Browse all 3881

Trending Articles