This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

VS2010 and MariaDB as Data Source

Hi

Is it be possibe to add MariaDB as a Data Source in VS2010 & C++?

I would very much appreciate hands-on examples of using MariaDB w/ VS2010 native C++. This is my first attept to build an MFC application using MariaDB (or mysql too for that matter) and just don't seem to find my way around.

thanks /RA

Answer Answered by Vladislav Vaintroub in this comment.

A client application for MariaDB is written in the same way that a client application for MySQL is built.

If you're using ODBC, the things are pretty standard, and do not depend on DBMS you're on. MySQL's ODBC driver aka MyODBC works with MariaDB just fine.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.