Okay, you can use this: http://forge.mysql.com/wiki/Connector_C%2B%2B
But fair warning: it sucks. Just read the MySQL connector forums, it's pretty amusing how awful this connector is.
Or you can use this: http://tangentsoft.net/mysql++/
It's much better, but still kind of sucks.
My personal experience with MySQL and C++ has been a nightmare. I'm currently re-writing a dispatch server in Java because I just can't handle the memory leaks, malloc
crashes, segfaults, etc, etc. I could have went the C route and just used the C connector (which is quite stable, I hear), but I'm not writing stuff in an object oriented language to have to use C libraries.
As far as the license is concerned, you're out of luck. You have to get a license to sell your commercial application if it uses a MySQL connector (C or C++).
You could, however, use an MIT (or equivalent) ODBC API which (I think) should allow you to release/sell commercial and closed-source software that has MySQL capability (through a driver, not native).