Friday, July 31, 2009

C++ database libraries for MySQL connection?

I am working on a windows environment, I have a MySQL database (5.0), the compiler I am using is visual C++, I want to connect to the database, query the database, populate data using C++ code, are there any libraries available for this, if not does anyone know about any sample code/tutorial that can help is writing code to establish database connectivity.

C++ database libraries for MySQL connection?
You can use the mysql ODBC drivers


http://dev.mysql.com/downloads/connector...





Then use the ODBC classes provided in Visual C++





Or, if you want pure native C++ classes, check out


http://tangentsoft.net/mysql++/





Have fun


No comments:

Post a Comment