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/.

Using MariaDB on Linux from C++ ODBC

Is the connector what I need to use ODBC from C++ on opensuse 13?

It would be great if you could point me to a document that says how to get mariadb set up so I can contact it with ODBC from C++

I extacted mariadb-connector-c-2.2.1-linux-x86_64 but I don't know what to do next. mariadb_config has a bunch of options.but I can't find any documentation.

I have installed already these: MyODBC-unixODBC; unixODBC; mariadb; mariadb-client; mariadb-errormessages.

odbc.ini is empty odbsinst.ini only has postgreseql which is my backup if I can't get mariadb to work.

Answer Answered by Brian Evans in this comment.

Using MariaDB is no different from using MySQL from the client side. The same ODBC driver you used previously should work fine with MariaDB.

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.