Original post by Atrix256
You can connect directly to your database from c++ yep.
The reason you wouldn't want to is security.
You're assuming he's running the C++ code on the client. It's much more likely that he's looking to write some server software in C++ that interfaces with an RDBMS (e.g., MySQL) running on the same machine. In this case, proxying requests over a network is completely unnecessary and will introduce complexity and additional overhead.
Original post by JamesCobras
Also where can i get a noob level and upwards tutorial.
FYI I want to use the database in C++.
If you're going to use MySQL (which is fine), I'd personally use the C bindings (only because they appear to be more officially maintained, and the C++ ones are probably just a wrapper around the C API anyway). Here is the documentation for the MySQL C API. If you google around, you can find tutorials of various qualities.
The other commonly used RDBMS is PostgreSQL which also has a C API that you can use.