I will like to read network packets from a single board computer into a database(mysql to be precise), code to communicate between the single board computer and mysql is to be written in c. Please I need your help in getting useful links to some materials online, as I have been trying to seek for useful information but not yielding any result yet. Thank you for your understanding.
Share
You need to install first libmysqlclient-dev package (I assume you’re under linux) on your system, then you can modify this code to meet your need:
Don’t forget to link to the mysqlclient library :
-lmysqlclient.Edit:
You can install libmysqlclient-dev (http://packages.debian.org/squeeze/libmysqlclient-dev) on debian like this:
You can compile your program like this: