Resources for Developing a C ++ MySQL Application for Linux

I am about to develop a C ++ application that uses a MySQL database.

I wrote similar applications in Java using JDBC as well as Spring Framework.

Are there equivalent libraries for C ++? What have you been most successful with?

+1


source to share


6 answers


I would use the MySQL C API, this is the simplest solution. You can easily write a class to wrap the C api for your own purposes.



+2


source


Here's MySQL Connector C ++ from MySQL. It's still in early alphas, but it mimics the JDBC 4.0 model.



+1


source


I enjoyed working with SQLAPI ++ .

+1


source


I found QtSql to be easy to use.

+1


source


It looks like writing a data access layer using the MySQL C API would be your best bet.

0


source


MySQL Connector / C ++ is a C ++ implementation of JDBC 4.0

Reference Clients Using MySQL Connector / C ++:
- OpenOffice - MySQL Workbench

More details: http://forums.mysql.com/read.php?167,221298

0


source







All Articles