If mySQL runs on a regular PC, you need to exchange data between the single-board computer and the regular PC so that the data you want is transferred from the board to the PC. You will need some kind of server on the PC. Having done this, the PC then takes the data and uses the mySQL C API, transfers it to the mySQL database.
Maybe I'm wrong, but you can be in your head. The overall design is simple, and if this is not obvious to you, you might be trying to do something too heavy.
user82238
source share