Get a MySQL library. A google search will turn up many different libs available. I've used MySQL++ in the past and it's pretty decent.
I don't know if it's the best though -- honesty the only other one I used was the "official" C++ connector package, but I never got it to work (and the API was way lamer)
sorry for bumping this thread but I have another question, the MySQL database has its own OFFICIAL native C API to interface with it(as opposed to third party libraries) as stated in the link I provided, am I correct?
there's an official C and an official C++ connector for MySQL. I've tried the C++ connector and was very disappointed with many of its design decisions (particularly that it forces everything to be dynamically allocated and it passes ownership of it around).
MySQL++ is basically a 3rd party C++ wrapper around the official C connector to make it easier to use in C++. I personally thought it did a much better job at it than the official C++ connector.