MYSQL C API for C++. The whole Mysql Server connections pack in the 1 code.
© SHaDe,Moderator of www.scripts.ge
Code cleared and translated to English by me.
If you are running Windows, it requires to install Mysql.h library:
For Linux you require compiler GCC. install library via package manager:
sudo apt-get install libmysql++ && sudo apt-get install libmysql++-dev
To include header:
#include <mysql.h>
Or
#include <sys/mysql.h>
Code compilation:
g++ -o 'softwarename' 'Source.cpp' `mysql_config --cflags --libs` && ./'softwarename'