mariadb-connector-odbc-usage
MariaDB-specific behavior of MariaDB Connector/ODBC (the ODBC 3.8-compliant driver built on MariaDB Connector/C) for application code — that the DSN-less keyword is DRIVER={MariaDB ODBC 3.2 Driver} on Windows, or a registered driver name / .so path on Linux and macOS; that parameter markers are always the positional ? via SQLBindParameter, never named; that one Unicode (SQLWCHAR) driver binary serves both ANSI and Unicode apps via SQL_ATTR_ANSI_APP; that SQLPrepare+SQLExecute uses server-side prepared statements (binary protocol) while SQLExecDirect defaults to client-side text unless EDSERVER is set; that autocommit is ON by default so transactional code must switch SQL_ATTR_AUTOCOMMIT off; and that TLS turns on implicitly when any of SSLCA/SSLCERT/SSLKEY is set. Use when writing or reviewing application code (C/C++, or via a wrapper like pyodbc) that talks to MariaDB through the ODBC API.
Pinned to revision 2206a90dc255, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.