Node-Red Storing IOT data In a SQL Database @stevecope
Node-Red Storing IOT data In a SQL Database  @stevecope
Uploaded September 2019 | Updated September 2026, 3 weeks ago
In this video I will take you step by step through the process of storing IOT data in a SQL database.
In the video we will use a SQLite database because it is easier to setup and this is especially important if you copy the flow and use it locally.
However the process is the same for other SQL databases
We look in detail on how you create the database commands and pass them into the SQLite connector node and how you can detect errors.
There is an error in the video regarding errors as you need the catch node to detect errors as the sqlite node doesn't output them on the output node.

This is a 2 part video series in the second vidoe we will look at storing JSON data, including how to extract elements to use as coulmn names.
Part 2- Node-Red Storing IOT data In a SQL Database-Part 2
youtu.be/fwF5xijNIWI
Part 3 Reading Data from a SQL Database-
youtu.be/pQvbvuo11Yk
Tutorial on site including flow
stevesnoderedguide.com/storing-iot-data-sql-database
-------------------------------------

-------------
Related videos
Node-Red- Moving Messages between Flows Without Wires
youtu.be/Yux1Ppvf2gg


If you find these videos useful then you might want to consider buying me a coffee
paypal.me/StepenCope
Node-Red Storing IOT data In a SQL DatabaseHow to Run Multiple Mosquitto Brokers on the Same HostHow to Find The IP Address of a new DeviceHow to Setup WordPress with a Static Home PageWorking With Node Red Flow Startup FilesNode-Red- Dynamic Drop Down ListsDisplay MQTT Data on A WebpageCreating a Simple Controllable MQTT Sensor With Node-RedNode Red Dashboard BasicsUsing The Ping Command for Network TestingPublishing Messages Using the Paho Python MQTT ClientIntroduction to Node Red ( Create a Basic MQTT Flow)
Steve Cope |

Node-Red Storing IOT data In a SQL Database

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER