Retrieving data from a MySQL database

R

Rao TRN

In broad sense, grabbing data from MySQL is not much different than grabbing
data from another RDBMS. I found some client libraries on MySQL site which
take care of communication between VC++ and the remore mySQL database. Check
the developer tools at the MySQL web site for more information.
 
B

Bryan Powell

Is it possible to grab data from a MySQL database and print it on the screen
with VC++? The database is on a linux server if that would make any
difference.
 
N

Nishant S

I do remember that they had a C API which allowed to to directly access the
MySQL DB server and do what you wanted. Also vagueley remember a C++ wrapper
they provided for the C API. Alternatively they also provided something
called MyODBC which was a set of ODBC drivers for MySQL. The easiest way to
make sure if all this still exists, would be to check out their web site
 
N

Nishant S

I do remember that they had a C API which allowed to to directly access the
MySQL DB server and do what you wanted. Also vagueley remember a C++ wrapper
they provided for the C API. Alternatively they also provided something
called MyODBC which was a set of ODBC drivers for MySQL. The easiest way to
make sure if all this still exists, would be to check out their web site
 
F

FJM

Bryan Powell said:
Is it possible to grab data from a MySQL database and print it on the screen
with VC++? The database is on a linux server if that would make any
difference.

Grab MyODBC from their website and just use the standard
CDatabase/CRecordset classes would be the easiest.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top