SD card access (SD/sdFat)

How about using Process::run to call the mySQL command line app to add the data to your database?

Process mysql = Process::run("mysql");
// TODO: replace by real command to insert your data
mysql.in().printf("INSERT %d\n", sensorValue);
mysql.in().close();
mysql.wait();
2 Likes