MySQL database connectivity with Thinger main.cpp program


#1

How to connect the local MySQL database with the Thinger main.cpp program of Raspberry Pi


#2

Have someone did that?


#3

Not sure what do you mean with local MySQL database. Thinger uses MongoDB, and you can connect to the database using any mongo client.


#4

This has been solved with reference to this link.
https://raspberry-projects.com/pi/programming-in-c/databases-programming-in-c/mysql/setup-mysql-c-access.
Now is is been possible to read data from from MYSQL database installed in raspberry pi through the Thinger’s main.cpp code and display in Thinger’s dashboard