No. It's possible if you find some kind of MySQL C++ library, or try making one yourself... but don't do that, especially the latter, unless your program absolutely MUST breathe the SQL puke. Once you're able to read the database, please convert it to a better format. Then drop SQL and have a nice day.
I recommend you create your own "database" system in C++. But do you actually need a database that rigerous, or are you just trying to save/load simple data about a file system?
Well to start:
IOstream is a nice library for input/output operations (including files) as you being a beginner, although I prefer to use regular C (stdio), personally.
I would check out the MySQL c++ Connector, on the MySQL website. I recommend building it first. It's easy to use and allows you to do exactly what you need. They have plenty of examples there. Better yet, try using the QSqlDatabase from the Qt Framework. This is far superior, but of course more bulk. The poster before me is being just a little harsh and is obviously biased against SQL in general. MySQL and c++ work fine together, you just need a good library.