getting this eeror i have created a databse name RFID_ENTRIES1 ,and i am sending my data through mqtt node and data is getting correctly but i have to compare this data to my database ,i dont know why this error is coming?please help.
So does this mean you have figured out how to connect to the database?
To compare data from two different places, you need to get the data into the same msg. In your case, you are sending data fron the RFID mqtt-in node to the mssql node. Put a debug node (set to displau the Complete msg object) on the output of both th e two nodes. Then you can see what the data looks like after exiting the mssql node.
I imagine that the mssql node will over write the msg.payload, so you will probably need to add a change node, between the two nodes, to copy the original msg.payload to another msg variable. Then in the output of the mssql node you should see all the information and be able to do what ever compares you need.
i have installed mysql server instead of mssql because i was stucked in that from past 2 days ,so just modifying my doubt to how to establish connection with mysql server with node red
Anyone please tell how to read and verify my mqtt rfid no with my database rfid no please tell,as this node red platform has limitation on number of queries so I have to get the solution in quick manner.
I am really looking for solution as i want to learn more.
thank you