# Not possible to use sqlite3 locally with node-red-node-sqlite anymore?

**URL:** https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318
**Category:** General
**Created:** [15 October 2020 18:51 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318 "2020-10-15T18:51:41Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 18:51 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/1 "2020-10-15T18:51:41Z")

</div>

Do I really have to use [https://www.sqlitedb.com/](https://www.sqlitedb.com/) to use node-red-node-sqlite? I've found a lot of tutorials and it seems like everyone is using a local instance of sqlite3, but I just can't add a local database. It asks me for API URL and API KEY instead. Description in node-red also says I need an account. Is the local version deprecated?

Thnx for your help.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [15 October 2020 19:10 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/2 "2020-10-15T19:10:14Z")

</div>

Hi @moarli, welcome to the forum.

The node provided by node-red-node-sqlite is designed to work with local sqlite database files - it doesn't do anything with a cloud service. So I'm not sure what is asking you for an API URL and KEY, but it certainly isn't the node from node-red-node-sqlite.

---

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 19:19 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/3 "2020-10-15T19:19:45Z")

</div>

Thnx for the quick reply @knolleary. Here are some screenshots. 1. I got this when I configure the node

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/c/7c37a62317588f9f13e1e2414a8cfd1f61f65c08.png) 2. And this if I try to add a new db ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/be9eb6a4d81e14dccb0a5911ddb049f48e4936cf.png)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [15 October 2020 19:21 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/4 "2020-10-15T19:21:19Z")

</div>

That is not node-red-node-sqlite.

If you open up the palette manager, can you check exactly which sqlite node you have installed?

---

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 19:32 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/5 "2020-10-15T19:32:22Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/c/ecf5c04535019bcedeb023bb1dd63fc137e1964e.png)

---

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 19:33 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/6 "2020-10-15T19:33:49Z")

</div>

I just achieved to use the local db with a dirty hack: I edited the flow.json from the node-red folder after importing a flow from a community member and changed the db name from the config node.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 October 2020 19:38 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/7 "2020-10-15T19:38:28Z")

</div>

Have you had another sqlite node installed? If so have you uninstalled it and have you restarted node-red after you removed it?

---

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 19:42 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/8 "2020-10-15T19:42:06Z")

</div>

OMG. You are right @Colin. I had node-red-contrib-sqlitedb installed. But I've removed and restarted node red after that. How do I get rid of that now completely?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 October 2020 19:45 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/9 "2020-10-15T19:45:01Z")

</div>

Go to your .node-red folder and run  
`npm list node-red-contrib-sqlitedb`  
`npm list -g node-red-contrib-sqlitedb`

---

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 19:50 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/10 "2020-10-15T19:50:49Z")

</div>

OK. That's embarrassing: @Colin npm list showed "empty" twice. But a reboot did the job 🤦‍♂️ thnx for your effort!

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 October 2020 19:53 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/11 "2020-10-15T19:53:09Z")

</div>

Well that is very odd, I have no idea why a reboot would fix it when a node red restart didn't.

I wonder whether it could have been a browser caching issue, not sure exactly how though.

---

<div class="post-metadata">

### Author: ![moarli](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@moarli](https://discourse.nodered.org/u/moarli)
#### Post date: [15 October 2020 19:55 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/12 "2020-10-15T19:55:59Z")

</div>

Anyway, thnx @Colin @knolleary

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 October 2020 19:56 UTC](https://discourse.nodered.org/t/not-possible-to-use-sqlite3-locally-with-node-red-node-sqlite-anymore/34318/13 "2020-10-29T19:56:01Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
