MySQL Connector/C++ is a MySQL database connector for C++.
Installation
If you are using Linux then you need to install two additional packages i.e. libmysql++ and libmysql++-dev for connecting C++ program with MySQL
Run following commands in terminal.
$ sudo apt-get install libmysql++
$ sudo apt-get install libmysql++-dev