As with any library create triggers on MySQL in C++?

There is a "smart house" project involving the Raspberry pi, it includes: Java app for Android and daemon for the Raspberry pi in C++ that queries a MySQL database when changes occur in a particular table (which are sent from the Java application) must Raspberry for example: to power a relay to turn on the light, etc, the question that I still have no idea how to implement it (or Rather how to create triggers for MySQL in C++)
March 19th 20 at 08:33
1 answer
March 19th 20 at 08:35
How to create triggers:
You can create one-off by any MySQL client.
How to manage peripheral devices : you need to read the manual.

Find more questions by tags Raspberry PiDesigning softwareMySQL