Do you already have a running database to access? If so, then mysql++ is straightforward. There's nothing to install; just include the libraries and headers like any other code. There is a simple example here:
http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#simple