J
J
Javasavr2019-03-25 22:13:11
MySQL
Javasavr, 2019-03-25 22:13:11

How and with which library to create MySQL triggers in C++?

There is a smart home project involving Raspberry pi, it includes: a Java application for android and a daemon for Raspberry pi in C ++ that polls the MySQL database when changes occur in a certain table (which are sent from a Java application) Raspberry should, for example: power a relay, turn on the light, etc., the question is that I still have no idea how to implement it (Or rather, how to create triggers for MySQL in C ++)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2019-03-26
@2ord

How to create triggers: https://habr.com/ru/post/37693/
You can create one-time with any MySQL client.
How to manage peripherals: You need to read the relevant manuals.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question