MySQL with C++ Steps: Change database details in database-detail.h file. Download this code $ git clone https://github.com/megha55/mysql-with-cpp.git To run example $ make For installing MySQL Connector for C++ $ make install